## Task A-1.1.

Ten years ago, Matko was five times older than the combined age of his two sons, Josip and Kristijan. At that time, Josip was twice as old as Kristijan. On the other hand, in 14 years, Josip and Kristijan together will be as old as their father. How old are Matko, Josip, and Kristijan now?
## First solution.

Let $x$ be the number of years Kristijan had 10 years ago.

From the conditions of the problem, we have that Josip had $2x$ years 10 years ago.

Matko had $5(x + 2x) = 15x$ years 10 years ago.

In 14 years, everyone will be 24 years older than they were 10 years ago: Kristijan will have $x + 24$ years, Josip $2x + 24$ years, and Matko $15x + 24$ years.

From the last condition of the problem, we then have

$$
15x + 24 = (x + 24) + (2x + 24)
$$

and solving this equation gives us $x = 2$.

Therefore, Kristijan is now 12 years old, Josip is 14 years old, and Matko is 40 years old.