Answer:
y=2x+6
Step-by-step explanation:
You can first set up the equation in point slope form and plug in your two points to solve for slope
y-y=m(x-x)
8-2=m(1+2)
6=m(3)
m=2
Then plug in one point into the point slope form equation to make it into slope intercept form
y-8=2(x-1)
y=2x-2+8
y=2x+6