document.write( "Question 32071: Pedro goes to the market and buys a total of 32 plums and peaches for $52. A plum costs $2 and a peach $1. How many plums did pedro buy ? \n" ); document.write( "
Algebra.Com's Answer #18598 by Paul(988)\"\" \"About 
You can put this solution on YOUR website!
Let the number of peaches be x
\n" ); document.write( "Let the number of plums be y
\n" ); document.write( "x+y=32
\n" ); document.write( "y=32-x (Subsitution)
\n" ); document.write( "x+2y=52
\n" ); document.write( "Susitutue for y:
\n" ); document.write( "x+2(32-x)=52
\n" ); document.write( "-x=52-64
\n" ); document.write( "x=12
\n" ); document.write( "y=32-12
\n" ); document.write( "y=20
\n" ); document.write( "Hence, there were 20 plums and 12 peahces.
\n" ); document.write( "Paul.
\n" ); document.write( "
\n" );