Choose 2 coordinates from the line. Let’s pick (0,0) and (2,16)
The equation of a line is on the form y = mx + b where m is the slope and b is the y-intercept.
First let’s find the slope:
m = (y2-y1)/(x2-x1) = (16-0)/(2-0) = 16/2= 8
So we have y = 8x + b
We substitue one of the coordinates to find b. Let’s substitute (0,0)
We get 0 = 0 + b. So b = 0
The equation of the line is y = 8x