The domain and the range is correct, and this is function, as it passes the vertical line test.
4.5m questions
5.8m answers