To solve the equation for different variables step-by-step clear any fractions by multiplying both sides of the equation by the LCM of the denominators. Get all the terms with the wanted variable on one side of the equation and all the other terms on the other side. Isolate the variable, and solve for the variable by undoing any arithmetic operations that were used to isolate it.