document.write( "Question 762578: The ratio of the number of yellow balls to the green balls in a bag was 4:7. When 6 green balls were removed and 3 more yellow balls were added to the bag, there were as many yellow balls as green balls. How many yellow balls and green balls were in the bag originally? \n" ); document.write( "
Algebra.Com's Answer #464070 by ramkikk66(644)\"\" \"About 
You can put this solution on YOUR website!
Ratio of yellow to green initially is 4:7.\r
\n" ); document.write( "\n" ); document.write( "Assume there were 4*x yellow balls, which means that there were 7*x green balls.\r
\n" ); document.write( "\n" ); document.write( "6 green balls removed. So number of green balls now is 7*x - 6
\n" ); document.write( "3 yellow balls added. So number of yellow balls now is 4*x + 3\r
\n" ); document.write( "\n" ); document.write( "After this change, it is given that the number of green balls and yellow balls are equal.\r
\n" ); document.write( "\n" ); document.write( "Hence \"7%2Ax+-+6%29+=+%284%2Ax+%2B+3%29\"\r
\n" ); document.write( "\n" ); document.write( "Solve for x. Adding 6 to both sides, and subtracting 4*x from both sides,\r
\n" ); document.write( "\n" ); document.write( "\"3%2Ax+=+9\" or \"x+=+3\"\r
\n" ); document.write( "\n" ); document.write( "Yellow balls = 4*x. Green = 7*x.\r
\n" ); document.write( "\n" ); document.write( "Hence number of yellow balls = \"highlight%2812%29\" and number of green balls = \"highlight%2821%29\"\r
\n" ); document.write( "\n" ); document.write( ":)
\n" ); document.write( "
\n" );