The working in your post is correct except I do not see why you can't have a plus or minus infront of that square root unless there is something about the domain you're not telling me

Bear in mind that's not a function since it's not one to one - the domain would have to be restricted to make it a function. t