You can put this solution on YOUR website! The goal is to get the variable (x) on one side of the equal sign, and the constant on the other. To do this, you use what's called inverse operations to cancel terms out on each side of the equation. I'll illustrate this with the second equation you listed:
first, distribute to get rid of the parenthesis
next, look at your variable terms. Subtract (because the inverse of addition is subtraction) the lower value variable term from each side of the equation (in this case it would be 3x): when you perform the subtraction of the variables, this equation becomes or
now use inverse operations to move the constant to the other side of the equation: becomes
or
Rules to remember:
-the inverse of addition is subtraction; inverse of subtraction is addition; inverse of multiplication is division; inverse of division is multiplication.
-what you do to one side of the equation MUST be done to the other side, as well.
-constants cannot be subtracted from or added to variables and variables cannot be subtracted from or added to constants (42x-2 does not equal 40x)
The answer to the other equation will be x=1. Try using the inverse operations to solve it.