How do you write a graph to represent the function

x=0,1,2,3
y= 1,4,7,10

This problem is similar to the one you posted before.

Take two points. For instance, the first two points, (0,1) and (1,4).

Get the slope:
m = (y2 - y1) / (x2 - x1)
m = (4 - 1) / (1 - 0)
m = 3 / 1
m = 3

slope-intercept form:
y - y1 = m(x - x1)
y - 1 = 3(x - 0)
Just simplify this.

hope this helps~ `u`