document.write( "Question 983407: Hi
\n" ); document.write( "there were pears and apples in a box.if 4 pears were taken out there woud be an equal number of pears and apples in the box.if 7 pears were taken out there would be 4/5 as many pears as apples in the box.\r
\n" ); document.write( "\n" ); document.write( "how many apples were there at first
\n" ); document.write( "how many pears were there at first\r
\n" ); document.write( "\n" ); document.write( "thank you
\n" ); document.write( "

Algebra.Com's Answer #604191 by mananth(16946)\"\" \"About 
You can put this solution on YOUR website!
let there be x pears and y apples in a box.\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "if 4 pears were taken out there woud be an equal number of pears and apples in the box.
\n" ); document.write( "x-4 = y
\n" ); document.write( "x-y =4...............(1)\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "if 7 pears were taken out there would be 4/5 as many pears as apples in the box.
\n" ); document.write( "x-7 = 4/5 (y)\r
\n" ); document.write( "\n" ); document.write( "5(x-7) = 4y
\n" ); document.write( "5x-35 =4y
\n" ); document.write( "5x-4y =35..............(2)\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "x-y =4...............(1)
\n" ); document.write( "5x-4y =35..............(2)\r
\n" ); document.write( "\n" ); document.write( "multiply (1) by -4 we get
\n" ); document.write( "-4x+4y=-16
\n" ); document.write( "add to (2)\r
\n" ); document.write( "\n" ); document.write( "x=19 Number of pears\r
\n" ); document.write( "\n" ); document.write( "x-y=4\r
\n" ); document.write( "\n" ); document.write( "19-y=4
\n" ); document.write( "y=15 Number of apples\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );