document.write( "Question 1200905: Hi
\n" ); document.write( "Shop p had 200 apples and 300 oranges. Shop q had 240 apples and 100 oranges. How many apples and oranges must be moved from q to p so that half of the fruits in p and 3/4 of the fruits in q are apples in the end.
\n" ); document.write( "Thanks
\n" ); document.write( "

Algebra.Com's Answer #835143 by greenestamps(13206)\"\" \"About 
You can put this solution on YOUR website!


\n" ); document.write( "let x = # of apples moved from q to p
\n" ); document.write( "let y = # of oranges moved from q to p

\n" ); document.write( "After the move, we have

\n" ); document.write( "200+x apples in p
\n" ); document.write( "240-x apples in q
\n" ); document.write( "300+y oranges in p
\n" ); document.write( "100-y oranges in q

\n" ); document.write( "After the move, half of the fruits in p are apples, so the number of apples in p is the same as the number of oranges in p. And after the move, 3/4 of the fruits in q are apples, so the number of apples in q is 3 times the number of oranges in q.

\n" ); document.write( "200+x = 300+y
\n" ); document.write( "240-x = 3(100-y) = 300-3y

\n" ); document.write( "One method for solving the pair of equations is to solve the first equation for y and substitute in the second equation.

\n" ); document.write( "y = x-100
\n" ); document.write( "240-x = 300-3(x-100)
\n" ); document.write( "240-x = 600-3x
\n" ); document.write( "2x = 360
\n" ); document.write( "x = 180
\n" ); document.write( "y= 180-100 = 80

\n" ); document.write( "ANSWER: move x = 180 apples and y = 80 oranges from q to p

\n" ); document.write( "CHECK:

\n" ); document.write( "apples in p at the end: 200+180 = 380
\n" ); document.write( "oranges in p at the end: 300+80 = 380
\n" ); document.write( "half the fruits in p are apples

\n" ); document.write( "apples in q at the end: 240-180 = 60
\n" ); document.write( "oranges in q at the end: 100-80 = 20
\n" ); document.write( "3/4 of the fruits in q are apples

\n" ); document.write( "
\n" ); document.write( "
\n" );