[tex] \frac{x + y}{2} = 40 \\ \\ x = 3y[/tex]
.
.
.
acum înlocuim x:
.
.
[tex] \frac{3y + y}{2} = 40 \\ \\ \frac{4y}{2} = 40 \\ \\ 2y = 40 \\ \\ y = \frac{40}{2} \\ \\ y = 20[/tex]
acum înlocuim y în x=3y:
.
.
.
.
.
[tex]x = 3y \\ x = 3 \times 20 \\ x = 60[/tex]