| First lets find the slope through the points (  ,  ) and (  ,  ) \n" );
document.write( "
 \n" );
document.write( "
 \n" );
document.write( "
  Start with the slope formula (note: (  ,  ) is the first point (  ,  ) and  (  ,  ) is the second point (  ,  )) \n" );
document.write( "
 \n" );
document.write( "
 \n" );
document.write( "
  Plug in  ,  ,  ,  (these are the coordinates of given points) \n" );
document.write( "
 \n" );
document.write( "
 \n" );
document.write( "
  Subtract the terms in the numerator  to get  .  Subtract the terms in the denominator  to get  \n" );
document.write( "
 \n" );
document.write( "
 \n" );
document.write( "
 \n" );
document.write( "  So the slope is
 \n" );
document.write( "
 \n" );
document.write( "
  \n" );
document.write( "
 \n" );
document.write( "
 \n" );
document.write( "
 \n" );
document.write( "
 \n" );
document.write( "
 \n" );
document.write( "  ------------------------------------------------
 \n" );
document.write( "
 \n" );
document.write( "
 \n" );
document.write( "Now let's use the point-slope formula to find the equation of the line:
 \n" );
document.write( "
 \n" );
document.write( "
 \n" );
document.write( "
 \n" );
document.write( "
 \n" );
document.write( "  ------Point-Slope Formula------
 \n" );
document.write( "
  where  is the slope, and (  ,  ) is one of the given points \n" );
document.write( "
 \n" );
document.write( "
 \n" );
document.write( "  So lets use the Point-Slope Formula to find the equation of the line
 \n" );
document.write( "
 \n" );
document.write( "
 \n" );
document.write( "
  Plug in  ,  , and  (these values are given) \n" );
document.write( "
 \n" );
document.write( "
 \n" );
document.write( "
 \n" );
document.write( "
  Rewrite  as  \n" );
document.write( "
 \n" );
document.write( "
 \n" );
document.write( "
 \n" );
document.write( "
  Rewrite  as  \n" );
document.write( "
 \n" );
document.write( "
 \n" );
document.write( "
 \n" );
document.write( "
  Distribute  \n" );
document.write( "
 \n" );
document.write( "
 \n" );
document.write( "
  Multiply  and  to get  \n" );
document.write( "\n" );
document.write( "
 \n" );
document.write( "
  Subtract  from  both sides to isolate y \n" );
document.write( "
 \n" );
document.write( "
 \n" );
document.write( "
  Combine like terms  and  to get  (note: if you need help with combining fractions, check out this solver) \n" );
document.write( "
 \n" );
document.write( "
 \n" );
document.write( "
 \n" );
document.write( "  ------------------------------------------------------------------------------------------------------------
 \n" );
document.write( "
 \n" );
document.write( "  Answer:
 \n" );
document.write( "
 \n" );
document.write( "
 \n" );
document.write( "
 \n" );
document.write( "  So the equation of the line which goes through the points (
  ,  ) and (  ,  )  is:  \n" );
document.write( "
 \n" );
document.write( "
 \n" );
document.write( "  The equation is now in
  form (which is slope-intercept form) where the slope is  and the y-intercept is  \n" );
document.write( "
 \n" );
document.write( "
 \n" );
document.write( "  Notice if we graph the equation
  and plot the points (  ,  ) and (  ,  ),  we get this: (note: if you need help with graphing, check out this solver) \n" );
document.write( "
 \n" );
document.write( "
 \n" );
document.write( "
  Graph of  through the points (  ,  ) and (  ,  ) \n" );
document.write( "
 \n" );
document.write( "
 \n" );
document.write( "  Notice how the two points lie on the line. This graphically verifies our answer.
 \n" );
document.write( "
 \n" );
document.write( "
 \n" );
document.write( "
 | 
\n" );
document.write( "