Revise this please!! I need to check.

Answer:
{ 3, 0, -1}
Step-by-step explanation:
The range is {-5, 4, 7} meaning that these are the y-values. You need to find the x-value using g(x) = y and solve for x because the domain is the values for x.
y = 4 - 3x Let y = - 5
-5 = 4 - 3x
-9 = -3x
-9/-3 = x
3 = x
y = 4 - 3x Let y = 4
4 = 4 - 3x
0 = -3x
0/-3 = x
0 = x
y = 4 - 3x Let y = 7
7 = 4 - 3x
3 = -3x
3/-3 = x
-1 = x
Checking Let x = 3 and solve for y or g(x)
g(x) = 4 - 3x
= 4 - 3(3)
= 4 - 9
= -5 checked