2. (7 points) Petya is three times older than Anya, and Anya is 8 years younger than Petya. Determine how old each of them is. Justify your answer.
Answer: Petya is 12 years old, and Anya is 4 years old.

Solution: Petya's age is three times Anya's age. This means that the difference in age between Petya and Anya is twice Anya's age, and according to the problem, this difference is eight years. Therefore, Anya's age is half of this: \(8 \div 2 = 4\) years. Petya is three times older, so he is \(4 \times 3 = 12\) years old.

It is also possible to solve the problem using an equation.

## Grading Criteria.

- Any correct and complete solution - 7 points.
- A solution that considers some specific age scenarios and the correct answer is obtained by trial and error - 2 points.
- The correct answer is provided, and it is verified that it satisfies the problem's condition - 2 points.
- Only the answer - 1 point.