yes, you did something wrong. in general, , yet that is what you did with the right side of the equation when you took the square root. Also note that there should be a sign on the right hand side. since if , then

EDIT: the "first and second quadrants" part of the problem means you should only consider the positive square root.