To "solve for x" we must follow these steps:
1. make sure all variable terms are on one side and all constant terms are on the other
2. then divide both sides by coefficent of x to completely isolate x, leaving "x = "
In the last two examples the constants in the equations were integers. If the equation contains fractions, then the first step would be to remove all the fractions by multiplying both sides of the equation by the LCD of all fractions in the equation. This will turn all coefficients and constants in the equation into integers. If you need help on this, see the section marked "equations with fractions".