document.write( "Question 258974: Pedro goes to the market and buys a total of 32 plums and peaches for $52. A plum costs $2 and a peach costs $1. How many plums did Pedro buy? \n" ); document.write( "
Algebra.Com's Answer #190661 by drk(1908)\"\" \"About 
You can put this solution on YOUR website!
Let A = plumb and B = peach.
\n" ); document.write( "From above, we get two equations
\n" ); document.write( "(i) \"A+%2B+B+=+32\"
\n" ); document.write( "(ii) \"2A+%2B+B+=+52\"
\n" ); document.write( "Notice, by adding an A from (i) to (ii) we add 20.
\n" ); document.write( "So, A = 20, B = 12
\n" ); document.write( "20 plumbs.
\n" ); document.write( "
\n" );