document.write( "Question 828202: A girl bought mangoes at P7.50 each. There were two types of mangoes: good ones and not so good ones. She sold the good ones at P7.90 each and the not-so-good ones at P7.70 each. If she earned P34, how many mangoes did she buy? \n" ); document.write( "
Algebra.Com's Answer #499142 by josgarithmetic(39620)\"\" \"About 
You can put this solution on YOUR website!
x is how many good mangos
\n" ); document.write( "y is how many not so good..\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Girl spent \"%28x%2By%29%2A7.5\" P of money for the mangos.
\n" ); document.write( "Her revenue was \"7.90x%2B7.70y\".\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Her earning were the profit: \"7.9x%2B7.7y-%28x%2By%29%2A7.5=34\" P\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "You do not have enough described information to find x or y or their sum. The problem description only allows for one equation in two unknown variables.\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "-----Pushing a little further------
\n" ); document.write( "\"7.9x-7.5x%2B7.7y-7.5y=34\"
\n" ); document.write( "\"0.4x%2B0.2y=34\"
\n" ); document.write( "\"0.2x%2B0.1y=17\"
\n" ); document.write( "\"2x%2By=170\"
\n" ); document.write( "\"highlight%28y=-2x%2B170%29\"
\n" ); document.write( "You can accept any or all positive whole number ordered pairs for x and y.
\n" ); document.write( "This may be anything from 85 good mangos and 0 bad mangos; to 0 good mangos and 170 bad mangos.
\n" ); document.write( "
\n" );