Answer: there are 15 coins of $2 and 18 coins of $5
Explanation:
I will answer in English.
X is the number of $5 coins.
Y is the number of $2 coins.
We have the system of equations:
Y + X = 33
Y*2 + X*5 = 120
first, we must isolate one of the variables in one of the equations and then replace it in the other equation, let's isolate Y in the first equation:
Y = 33 - X.
Then we can replace it in the other equation:
(33 - X)*2 + X*5 = 120
66 - X*2 + X*5 = 120
X*3 = 54
X = 54/3 = 18
and using the equation for Y.
Y = 33 - X = 33 - 18 = 15
So there are 15 coins of $2 and 18 coins of $5