1=0.05(q+2)+0.25q
1 =0.05q +0.1 +0.25q isolate q to one side
1 - 0.1 =0.05q + 0.25q
0.9 =0.3q divide both sides by 0.3
q = 0.9 / 0.3
q = 3
Let the number of quarters =Q
Number of nickels =Q + 2, But:
0.25Q + 0.05[Q + 2] =1
0.25Q + 0.05Q + 0.1 =1
0.3Q = 0.9 divide both sides by 0.3
Q =0.9 / 0.3
Q = 3 - Number of quarters.
3 + 2 = 5 Number of nickels, so that:
[3 x 0.25] + [5 x 0.05] =$1