Solving equations with one variable (x)