document.write( "Question 162368: Write an equation for a line that passes through the following points:
\n" ); document.write( "(-7, 9), (8, 9)\r
\n" ); document.write( "\n" ); document.write( "I dont really know how to do this, and i would really apperciate seeing the steps that explain how to do this problem. THank you in advance!
\n" ); document.write( "

Algebra.Com's Answer #119675 by gonzo(654)\"\" \"About 
You can put this solution on YOUR website!
let (x,y) = (-7,9)
\n" ); document.write( "let (x1,y1) = (8,9)
\n" ); document.write( "-----
\n" ); document.write( "you need the slope intercept form of the equation for a straight line.
\n" ); document.write( "that is:
\n" ); document.write( "y = m*x + b
\n" ); document.write( "where m is the slope and b is the y intercept.
\n" ); document.write( "y intercept is the value of y when x equals 0
\n" ); document.write( "-----
\n" ); document.write( "first you solve for m which is the slope.
\n" ); document.write( "the formula for the slope is (y-y1)/(x-x1)
\n" ); document.write( "substituting from above, you get (9-9)/(-7-8) = 0/-15 = 0.
\n" ); document.write( "-----
\n" ); document.write( "right off the bat it looks like you are going to have a horizontal line since the slope is 0.
\n" ); document.write( "-----
\n" ); document.write( "now that you have the slope, you need to find the y intercept.
\n" ); document.write( "take one of the points and substitute it in the slope intercept form of the equation with m = 0
\n" ); document.write( "-----
\n" ); document.write( "that equation is
\n" ); document.write( "y = 0*x + b
\n" ); document.write( "substitute x = -7 and y = 9
\n" ); document.write( "you get
\n" ); document.write( "9 = 0*(-7) + b
\n" ); document.write( "which becomes
\n" ); document.write( "b = 9.
\n" ); document.write( "-----
\n" ); document.write( "your complete equation is y = 0*x + 9
\n" ); document.write( "which reduces to y = 9
\n" ); document.write( "-----
\n" ); document.write( "graph of that equation is a horizontal line with y = 9 for any value of x.
\n" ); document.write( "graph shows up below
\n" ); document.write( "\"graph%28400%2C400%2C-5%2C5%2C-1%2C10%2C9%29\"\r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );