1. Hint: Everything under the square root must be .
2. Hint: You can't have a zero denominator.
3. Your domain and range are right, assuming that the endpoints are not holes (I can't really see when the pic is so small).
You should be able to find the equations of the four lines which make the function.