Solving equations with radicals