We have to look at the x values, next look at the y values from the table.
The y values are going up 2 every time,
The x values are going up 1 every time.
This is a rule, so we can write the function in the form:
y=mx+b
Where:
m= slope
b= y-intercept
apply the slope formula:
m= rise / run = 2 / 1 = 2
b = 0
y= 2x