document.write( "Question 249800: A line passes through the point (x,y) = (-5,2) and has a slope of -3.  Write an equation for this line \n" ); document.write( "
Algebra.Com's Answer #181907 by mathhub(11)\"\" \"About 
You can put this solution on YOUR website!
The given point is (-5, 2). The given slope of the equation is -3.\r
\n" ); document.write( "\n" ); document.write( "The generic equation of a straight line formed out of a point and slope is\r
\n" ); document.write( "\n" ); document.write( "\"y+=+m%2Ax+%2B+c\", where m is the slope and c is the constant.
\n" ); document.write( "
\n" ); document.write( " \"y+=+m%2Ax+%2B+c\"
\n" ); document.write( "=>\"y+=+-3%2Ax+%2B+c\"\r
\n" ); document.write( "\n" ); document.write( "To calculate the value of c, let us substitute the value of x and y from the coordinates of the given point in the equation.\r
\n" ); document.write( "\n" ); document.write( "=>\"y+=+-3%2Ax+%2B+c\"
\n" ); document.write( "=>\"2+=+%28-3%29%2A%28-5%29+%2B+c\"
\n" ); document.write( "=>\"2+=+15+%2B+c\"
\n" ); document.write( "=>\"2+-+15+=+c\"
\n" ); document.write( "=> c = -13\r
\n" ); document.write( "\n" ); document.write( "Thus the equation of the line is y = -3x - 13
\n" ); document.write( "
\n" );