We have a function f(x)=3x-2, that is a line, but is only defined for a domain D = {-3,1,5}
Then, we will have only 3 points for this function: the points (x,f(x)) that relate the x of the domain D to their corresponding image.
We can calculate f(x) for each value of the domain:
Then, we have the three points: (-3,-11), (1,1) and (5,13).
Then, we cn graph this points in a graph where y=f(x):