document.write( "Question 1177321: Hi
\n" ); document.write( "If A gave 22 sweets to D she would have 4 times as many sweets as D . If D gave 18 sweets to A she would have 1/9 as many sweets as A and D.
\n" ); document.write( "How many sweets do they have altogether. \r
\n" ); document.write( "\n" ); document.write( "Thanks
\n" ); document.write( "

Algebra.Com's Answer #806179 by ankor@dixie-net.com(22740)\"\" \"About 
You can put this solution on YOUR website!
If A gave 22 sweets to D she would have 4 times as many sweets as D.
\n" ); document.write( "a - 22 = 4(d+22)
\n" ); document.write( "a - 22 = 4d + 88
\n" ); document.write( "a - 4d = 22 + 88
\n" ); document.write( "a - 4d = 110
\n" ); document.write( " If D gave 18 sweets to A she would have 1/9 as many sweets as A and D.
\n" ); document.write( "d - 18 = \"1%2F9\"(a+d), total remain the same
\n" ); document.write( "mult the eq by 9, cancel the denominator
\n" ); document.write( "9d - 162 = a + d
\n" ); document.write( "-a + 9d - d = 162
\n" ); document.write( "-a + 8d = 162
\n" ); document.write( ":
\n" ); document.write( "Use these two equations for elimination
\n" ); document.write( "a - 4d = 110
\n" ); document.write( "-a +8d = 162
\n" ); document.write( "-------------------addition eliminates a, find d
\n" ); document.write( "0 + 4d = 272
\n" ); document.write( "d = 272/4
\n" ); document.write( "d = 68 sweets for D originally
\n" ); document.write( "then
\n" ); document.write( "a - 22 = 4(68+22)
\n" ); document.write( "a = 4(90) + 22
\n" ); document.write( "a = 360 + 22
\n" ); document.write( "a = 382 sweets for A originally
\n" ); document.write( ":
\n" ); document.write( " How many sweets do they have altogether.
\n" ); document.write( "382 + 68 = 450
\n" ); document.write( "
\n" ); document.write( "
\n" );