-- Do anything you need to do in order to get 'x' all by itself on one side and everything else on the other side.
-- As soon as you do anything to one side of the equation, you must immediately do the same thing to the other side.
-- That's the whole book on solving any equation with a single variable.