Question 97146
General equation of a straight line is 
y=mx + c ......(1)
where m is the slope and c the y-intercept

now slope m = {{{(y2-y1)/(x2-x1)}}}
          m= {{{(22-10)/(12-8)}}}
          m={{{12/4}}}
          m={{{3}}}

Since the point (8,10) lies on this line therefore we have
 
10=3*8 + c    Putting the values of (x,y) and m in 1
c=-14 

Subsituting the values of m and c in (1) we have

y= 3x -14   the required equation of the line