document.write( "Question 1201235: Hi
\n" ); document.write( "Bob and Jill had some sweets. After Jill gave Bob 20% of what she had Bob would have 60% more than Jill. What percentage of his total number of sweets must Bob give to Jill so that they will have the same number of sweets.
\n" ); document.write( "Thanks
\n" ); document.write( "

Algebra.Com's Answer #835522 by Theo(13342)\"\" \"About 
You can put this solution on YOUR website!
let b = the number of sweets that bob had.
\n" ); document.write( "let j = the number of sweets that jill had.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "After Jill gave Bob 20% of what she had, Bob would have 60% more than Jill. \r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "assume jill had x number of sweets.
\n" ); document.write( "after she gave 20% of them to bob, she would have had .8x number of sweets left.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "after jill gave 20% of her sweets to bob, bob would have had 1.6 * the number of sweets that jill had left.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "bob would have had 1.6 * .8 * x = 1.28 * x sweets.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "after the transaction:
\n" ); document.write( "bob had 1.28 * x number of sweets.
\n" ); document.write( "jill had .8 * x number of sweets.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "you want to know what percentage of sweets that bob had were given to jill so that they both have the same number of sweets.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "let that quantity be equal to y.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "you get 1.28 * x - y = .8 * x + y
\n" ); document.write( "add y to both sides of this equation and subtract .8 * x from both sides of this equation to get:
\n" ); document.write( "1.28 * x - .8 * x = 2 * y
\n" ); document.write( "simplify to get:
\n" ); document.write( ".48 * x = 2 * y
\n" ); document.write( "solve for y to get:
\n" ); document.write( "y = .48 / 2 = .24 * x\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "replace y with .24 * x in the equation of 1.28 * x - y = .8 * x + y.
\n" ); document.write( "the equation becomes:
\n" ); document.write( "1.28 * x - .24 * x = .8 * x + .24 * x
\n" ); document.write( "simplify to get:
\n" ); document.write( "1.04 * x = 1.04 * x\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "the ratio of .24 * x to 1.28 * x is equal to (.24 * x) / (1.28 * x) = .1875.
\n" ); document.write( "this suggest that bob would have had to give 18.75% of what he had to jill so that they would both have the same amount.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "to see if this makes sense, let x = any random number that makes some kind of sense.
\n" ); document.write( "i let x = 1000\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "that's the amount that jill had to start with.
\n" ); document.write( "she gave 20% of that to bob
\n" ); document.write( "bob would then have had 1.6 * what jill had left.
\n" ); document.write( "jill would have had 800 left.
\n" ); document.write( "bob would have had 1280, because 1.6 * 800 = 1280.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "bob would then have had to give 18.75% of that to jill so that they would both have the same amount.
\n" ); document.write( ".1875 * 1280 = 240.
\n" ); document.write( "bob gave 240 to jill.
\n" ); document.write( "bob now has 1280 - 240 = 1040.
\n" ); document.write( "jill now has 800 + 240 = 1040.
\n" ); document.write( "they both now have the same amount.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "it looks like your solution is that bob would have had to give 18.75% of his sweets to jill so that they would both have the same number of sweets.\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );