Question 878933
q + d = 40,  d = {{{ (40-q)}}}
25q + 10d = 580  (Cents makes sense)
25q + 10(40-q) = 580
      15q = 180
        q = 12, the number of quarters. There are 28dimes.  {{{40-12}}}
And...
  {{{12*25 + 10*28 }}} = 580cents  0r $5.80