document.write( "Question 1174415: Andie had a total of 240 pomelos and guavas in his shop. After he sold 50% of the pomelos and 90 guavas, he had an equal number of pomelos and guavas left. How many pomelos did he have at first? \n" ); document.write( "
Algebra.Com's Answer #799839 by ankor@dixie-net.com(22740)\"\" \"About 
You can put this solution on YOUR website!
Andie had a total of 240 pomelos and guavas in his shop.
\n" ); document.write( " After he sold 50% of the pomelos and 90 guavas, he had an equal number of pomelos and guavas left.
\n" ); document.write( " How many pomelos did he have at first?
\n" ); document.write( ":
\n" ); document.write( "let p = no. of pomelos
\n" ); document.write( "total fruit is 240, therefore:
\n" ); document.write( "(240-p) = no. of guavas
\n" ); document.write( "\"
\n" ); document.write( ".5p = (240-p) - 90
\n" ); document.write( ".5p = 240 - 90 - p
\n" ); document.write( ".5p = 150 - p
\n" ); document.write( ".5p + p = 150
\n" ); document.write( "1.5p = 150
\n" ); document.write( "p = 150/1.5
\n" ); document.write( "p = 100 pomelos at first
\n" ); document.write( ":
\n" ); document.write( ":
\n" ); document.write( "Check this, 240 - 100 = 140 guavas
\n" ); document.write( ".5(100) = 50 p's
\n" ); document.write( "140 - 90 = 50 g's
\n" ); document.write( "
\n" );