document.write( "Question 1033571: The ratio of red jelly beans to yellow jelly beans in a dish is 3:4. If Greg eats 3 red jelly beans and 6 yellow ones, the ratio is 4:5. How many yellow jelly beans were in the dish? \n" ); document.write( "
Algebra.Com's Answer #648218 by josmiceli(19441)\"\" \"About 
You can put this solution on YOUR website!
Let the original number of red DISABLED_event_ones= \"+r+\"
\n" ); document.write( "Let the original number of yellow DISABLED_event_ones= \"+y+\"
\n" ); document.write( "-----------------------------------------
\n" ); document.write( "(1) \"+r%2Fy+=+3%2F4+\"\r
\n" ); document.write( "\n" ); document.write( "(2) \"+%28+r-3+%29+%2F+%28+y+-+6+%29+=+4%2F5+\"
\n" ); document.write( "--------------------------
\n" ); document.write( "(1) \"+r+=+%283%2F4%29%2Ay+\"
\n" ); document.write( "and
\n" ); document.write( "(2) \"+r+-+3+=+%284%2F5%29%2A%28+y+-+6+%29+\"
\n" ); document.write( "Substitute (1) into (2)
\n" ); document.write( "(2) \"+%283%2F4%29%2Ay+-+3+=+%284%2F5%29%2A%28+y+-+6+%29+\"
\n" ); document.write( "Multiply both sides by \"+20+\"
\n" ); document.write( "(2) \"+15y+-+60+=+16%2A%28+y+-+6+%29+\"
\n" ); document.write( "(2) \"+15y+-+60+=+16y+-+96+\"
\n" ); document.write( "(2) \"+y+=+36+\"
\n" ); document.write( "and
\n" ); document.write( "(1) \"+r+=+%283%2F4%29%2Ay+\"
\n" ); document.write( "(1) \"+r+=+%283%2F4%29%2A36+\"
\n" ); document.write( "(1) \"+r+=+27+\"
\n" ); document.write( "----------------------
\n" ); document.write( "36 yellow beans were in the dish
\n" ); document.write( "-----------------------------
\n" ); document.write( "check:
\n" ); document.write( "(1) \"+r%2Fy+=+3%2F4+\"
\n" ); document.write( "(1) \"+27%2F36+=+3%2F4+\"
\n" ); document.write( "(1) \"+%28+9%2F9+%29%2A%28+3%2F4+%29+=+3%2F4+\"
\n" ); document.write( "(1) \"+3%2F4+=+3%2F4+\"
\n" ); document.write( "and
\n" ); document.write( "(2) \"+%28+r-3+%29+%2F+%28+y+-+6+%29+=+4%2F5+\"
\n" ); document.write( "(2) \"+%28+27-3+%29+%2F+%28+36+-+6+%29+=+4%2F5+\"
\n" ); document.write( "(2) \"+24+%2F+30+=+4%2F5+\"
\n" ); document.write( "(2) \"+%28+6%2F6+%29%2A%28+4%2F5+%29+=+4%2F5+\"
\n" ); document.write( "(2) \"+4%2F5+=+4%2F5+\"
\n" ); document.write( "OK
\n" ); document.write( "
\n" );