You can put this solution on YOUR website! First find the slope, which is the difference between the xs and the ys going in the same direction.
(10-2)= difference in y, or 8
3-(-1)=4, difference in x
slope is y/x, and that is (8/4)=2
Now use point slope formula
y-y1=m (x-x1)
m is slope, and you may use either point. You will get the same answer.
y-10=2(x-3)
distribute
y-10=2x-6
add 10 to both sides
y=2x+4
Alternative is use y=mx+b where y is 10, m=2, x=3
10=2(3)+b
10=6+b
b=4
y=2x+4