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 #179522 by richwmiller(17219)\"\" \"About 
You can put this solution on YOUR website!
first combine like elements on each side
\n" ); document.write( "2g+14+5g=8g-3+8
\n" ); document.write( "2g+5g on the left can be combined to 7g
\n" ); document.write( "-3+8 on the right can be combined to 5
\n" ); document.write( "so now we have
\n" ); document.write( "7g+14=8g+5
\n" ); document.write( "what we do to one side of the equation we must to the the other side.
\n" ); document.write( "so if we subtract 5 from the right side we have to subtract 5 from the left side.
\n" ); document.write( "so now we have
\n" ); document.write( "7g+9=8g
\n" ); document.write( "now we can subtract 7g from both sides
\n" ); document.write( "and we get 9=1g or 9=g\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );