A restaurant bill of $2.85 was paid using quarters and dimes only. If twice the number of quarters is 6 less than 4 times the number of dimes, how many quarters were used?

2 answers

HELP MEEEEEEEEEEEEEEEEEEEEE
# quarters: x
value of quarters: 25x
# dimes: d
value of dimes: 10d
and, 2q = 4d-6, so
q = 2d-3
10d+25q = 285
Now just solve for q