document.write( "Question 121467: Please help me pick the correct answer.\r
\n" ); document.write( "\n" ); document.write( "If x-y=6 and 3x^2+3xy-6y^2=60, then 9x+18y=\r
\n" ); document.write( "\n" ); document.write( "Answers:
\n" ); document.write( "a) 12
\n" ); document.write( "b) 15
\n" ); document.write( "c) 20
\n" ); document.write( "d) 24
\n" ); document.write( "e) 30
\n" ); document.write( "

Algebra.Com's Answer #89158 by algebrapro18(249)\"\" \"About 
You can put this solution on YOUR website!
If x-y=6 and 3x^2+3xy-6y^2=60, then 9x+18y=\r
\n" ); document.write( "\n" ); document.write( "Answers:
\n" ); document.write( "a) 12
\n" ); document.write( "b) 15
\n" ); document.write( "c) 20
\n" ); document.write( "d) 24
\n" ); document.write( "e) 30
\r
\n" ); document.write( "\n" ); document.write( "I am sure there is an easier way to do this but I can't think of one so I did it the long way. First we need to set up a system of two equations and then solve it. The system is:
\r
\n" ); document.write( "\n" ); document.write( "x-y = 6
\n" ); document.write( "3x^2+3xy-6y^2 = 60
\r
\n" ); document.write( "\n" ); document.write( "so now to solve that mess. I would start by solving the first equation for x.
\r
\n" ); document.write( "\n" ); document.write( "x = 6+y
\r
\n" ); document.write( "\n" ); document.write( "Now plug that into the second equation and solve for your y value.
\r
\n" ); document.write( "\n" ); document.write( "3(6+y)^2+ 3(6+y)y-6y^2 = 60
\n" ); document.write( "3(6+y)(6+y) + 3y(6+y)-6y^2 = 60 <---- just rearranging some stuff here
\n" ); document.write( "3(36+12y+y^2) + 18y + 3y^2 - 6y^2 = 60 <--- F.O.I.L. and distribute
\n" ); document.write( "108 + 36y + 3y^2 + 18y + 3y^2 - 6y^2 = 60 <--- Multiplying
\n" ); document.write( "3y^2 + 3y^2 - 6y^2 + 36y + 18y + 108 =60 <--- rearranging
\n" ); document.write( "54y + 108 = 60 <--- combining like terms
\n" ); document.write( "54y = -48 <--- starting to solve for y, subtracting 108 from both sides
\n" ); document.write( "y = -48/54 <--- solving for y, dividing both sides by 54
\n" ); document.write( "y = -8/9 <--- simplifying the fraction
\r
\n" ); document.write( "\n" ); document.write( "now that we have y = -8/9 we can solve for x.
\r
\n" ); document.write( "\n" ); document.write( "x = 6 + y
\n" ); document.write( "x = 6 - 8/9
\n" ); document.write( "x = 46/9
\r
\n" ); document.write( "\n" ); document.write( "now we can just plug in those values into 9x+18y and see what it equals.
\r
\n" ); document.write( "\n" ); document.write( "9x+18y
\n" ); document.write( "= 9(46/9) + 18(-8/9)
\n" ); document.write( "= 46 - 16
\n" ); document.write( "= 30 or answer e
\n" ); document.write( "
\n" );