Hi I need help with this question

It's a linear function.
We need to count only the coordinates of two points to each straight line. The graph will be a segment in Q9, and a ray in Q 10.
9. f(x) = -x + 5; D = [-3, 2]
for x = -3 → y = -(-3) + 5 = 3 + 5 = 8 → (-3, 8)
for x = 2 → y = -2 + 5 = 3 → (2, 3)
10. f(x) = 3/2 x + 1; D = {x | x > -2}
for x = -2 → y = 3/2 · (-2) + 1 = -3 + 1 = -2 → (-2, -2)
for x = 0 → y = 3/2 · 0 + 1 = 0 + 1 = 1 → (0, 1)