document.write( "Question 245867: What do you do when you have a variable on both sides
\n" ); document.write( "Example 2g+14+5g=8g-3+8
\n" ); document.write( "

Algebra.Com's Answer #179524 by dabanfield(803)\"\" \"About 
You can put this solution on YOUR website!
You can add or subtract the same value from both sides of an equation without changing the solutions so you can subtract 8g from both sides giving:\r
\n" ); document.write( "\n" ); document.write( "2g+14+5g-8g=8g-3+8-8g =
\n" ); document.write( "2g+14+5g-8g=8g-8g-3+8 =
\n" ); document.write( "2g+14+5g-8g=-3+8=5\r
\n" ); document.write( "\n" ); document.write( "This essentially removes the variable from the right side of the equation.\r
\n" ); document.write( "\n" ); document.write( "Subtracting 14 from both sides results in:\r
\n" ); document.write( "\n" ); document.write( "2g+14+5g-8g-14 = 5-14\r
\n" ); document.write( "\n" ); document.write( "Simplify to:\r
\n" ); document.write( "\n" ); document.write( "2g+5g-8g = -9
\n" ); document.write( "-g = -9
\n" ); document.write( "g = 9\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );