Let:
x = number of dimes
y = number of quarters
She collected a total of 122 coins, so:
[tex]x+y=122[/tex]and a total of 21.50, so:
[tex]0.1x+0.25y=21.50[/tex]Let:
[tex]\begin{gathered} x+y=122_{\text{ }}(1) \\ 0.1x+0.25y=21.50_{\text{ }}(2) \end{gathered}[/tex]From (1):
[tex]x=122-y_{\text{ }}(3)[/tex]Replace (3) into (2):
[tex]\begin{gathered} 0.1(122-y)+0.25y=21.50 \\ 12.2-0.1y+0.25y=21.50 \\ 0.15y=9.3 \\ y=\frac{9.3}{0.15} \\ y=62 \end{gathered}[/tex]Replace the value of y into (3):
[tex]\begin{gathered} x=122-62 \\ x=60 \end{gathered}[/tex]She collected 60 dimes and 62 quarters