Answer: 42 quarters and 15 dimes.
Explanation:
If q is the number of quarters, and d the number of dimes, we have that:
q + d = 57
q*0.25 + d*0.10 = 12
the first step is isolating one of the variables in one of the equation, it is easier to do it in the first one, let's isolate q.
q = 57 - d
now, we can replace this in the second equation and solve it for d.
q*0.25 + d*0.10 = 12
(57 - d)*0.25 + d*0.10 = 12
57*0.25 +d*(0.10 - 0.25) = 12
57*0.25 - d*0.15 = 12
-d*0.15 = 12 - 57*0.25 = -2.25
d = (-2.25)/(-0.15) = 15
So the number of dimes is 15, this means that the number of quarters must be:
q = 57 - d = 57 - 15 = 42