Решаешь системой. x+y = 20 x=20-y x=20-y x=20-y
5x+3y=84. 5(20-y) + 3y = 84 100-5y+3y = 84 -2y=-16
x=20-y
y=8 x=20-y
x=20-8
x=12