f(x) does have an inverse function since it does pass the horizontal line test
Answer:
The top is (-2 , 2) and the bottom is (4 , -2)