2131 Find an equation of the line containing the given pair
     2.1.31 Find an equation of the line containing the given pair of points. (-2,0) and (0,5) What is the equation of the line? Type your answer in slope-intercept form. Use integers or fractions for any numbers in the expression.)  
  
  Solution
1.slope intercept form is
y = mx + c
slope of line is given by:
m = (y2 - y1)/(x2 - x1)
m = (5 - 0)/(0 - (-2)) = 5/2
m = 5/2
equation of line is given by:
y - y1 = m*(x - x1)
y - 0 = (5/2)*(x - (-2))
y = 5x/2 + 2*(5/2)
y = 5x/2 + 5
2.
y = 6x - 2
slope of above line = 6
slope of it\'s parallel line will be
m1*m2 = -1
6*m2 = -1
m2 = -1/6
Now equation of line will be:
y - y1 = m*(x - x1)
y - 8 = (-1/6)*(x - 0)
y - 8 = -x/6
y = 8 - x/6

