Question 6794
the line that passes through the  points(-2,-2)and(7,25)
Equation of a straight line is  y=mx+c   --->(1)
where m is the slope of the line
T0 find slope we use the formula
m = y1-y2/x1-x2

Given:(x1,y1)= (-2,-2)

       (x2,y2) = (7,25)

putting these values in the formula 

m= -2-25/-2-7
  = -27/ -9
m=3

putting the value of m in equation (1)
we get
 y=3x+c
Now we donot have the value of c( which gves the y-intercept)
To find the value of c we will plug in the value of  m  and x and y  from any particular  point say (-2,-2)

-2 = 3(-2)+c
-2 +6 =c
4 =c
so c =4
then the equation of line must be y=3x+4