Solving equations with one unknown