Question 119699
n = number of nickels
d = number of dimes
p =number of pennies
q = number of quarters
v = value of all the coins in purse
{{{n = 2p}}}
{{{d = n + 3}}}
{{{q = n + d}}}
The number of coins in the purse is:
{{{p + n + d + q}}}
The value of all the coins in the purse is:
{{{v = 1*p + 5*n + 10*d + 25*q}}}
{{{n = 2p}}}, so
{{{v = p + 5*(2p) + 10*d + 25*q}}}
{{{d = n + 3}}} so,
{{{v = p + 10p + 10(n + 3) + 25*q}}}
remember, {{{n = 2p}}}
{{{v = 11p + 10(2p + 3) + 25*q}}}
Also, {{{q = n + d}}}
That's the same as
{{{q = 2p + (2p + 3)}}}
{{{q = 4p + 3}}}
{{{v = 11p + 20p + 30 + 25(4p + 3)}}}
{{{v = 21p + 30 + 100p + 75}}}
{{{v = 121p + 105}}} answer