Question 1152382
{{{system(p+d+q=50,p=d,p+10d+25q=548)}}}


{{{system(2d+q=50,11d+25q=548)}}}


subst for q
{{{11d+25(50-2d)=548}}}



{{{11d+25*50-50d=548}}}
{{{11d-50d=548-25*50}}}
{{{50d-11d=25*50-548}}}
{{{39d=702}}}
{{{highlight_green(d=18)}}}
Use this to find the other two quantities.