Question 1165729
n, d, q
{{{d-n=2}}}
{{{-n=2-d}}}
{{{n=d-2}}}

-

{{{system((d-2)+d+q=19,5(d-2)+10d+25q=235)}}}

-

{{{system(2d+q=21,(d-2)+2d+5q=47)}}}


{{{system(2d+q=21,3d+5q=49)}}}


{{{highlight_green(3d+5(21-2d)=49)}}}-----------Here, one equation in one variable; solve this and then find the other two number of coins .