how to solve equation two square roots