Solving equations by isolating the variable