solving radical equations with variables on both sides