I know someone answered but I’m going to say why the answer is the answer.
When it is asking for the domains it is asking for the x values. (1, -2, -3, -6)
When it is asking for the ranges it is asking for the y values. (5, 4, 0, 2)
Hope this helped :)