Well, first we have:

We use absolute value in square root operations because the square of a positive number is the same as the square of the same negative number, so when you take the square root of a number, it could be the positive or negative version of that number, depending on what you are looking for. So the solution to your first problem is:

And the second problem:

Same principle applies: