document.write( "Question 1210397: Andrew bought some apples and pears. The ratio of the number of apples bought to the number of pears bought was 7:4. He spent $61.20. He paid $22.80 more for the apples than the pears. Each apple was $0.30 more than each pears.
\n" ); document.write( "(a) How much did he spend on the pears?
\n" ); document.write( "(b) How many pears did he buy?
\n" ); document.write( "

Algebra.Com's Answer #852207 by josgarithmetic(39617)\"\" \"About 
You can put this solution on YOUR website!
This is not very neat and much likely not the best way, but this should work.\r
\n" ); document.write( "\n" ); document.write( "
\r\n" );
document.write( "          PRICE    QUANTY    COST\r\n" );
document.write( "\r\n" );
document.write( "Apple     p+0.3     7x      7x(p+0.3)\r\n" );
document.write( "\r\n" );
document.write( "Pear       p        4x      4x*p\r\n" );
document.write( "\r\n" );
document.write( "Totals                      61.20\r\n" );
document.write( "
\r
\n" ); document.write( "\n" ); document.write( "and too, the 22.8 dollars difference
\n" ); document.write( "\"system%287x%28p%2B0.3%29-4xp=22.8%2C7x%28p%2B0.3%29%2B4xp=61.2%29\"
\n" ); document.write( "
\n" );