document.write( "Question 184270This question is from textbook
\n" ); document.write( ": I have a problem graphing y= 3x and y = -x + 4 \n" ); document.write( "
Algebra.Com's Answer #138303 by MathGuyJoe(20)\"\" \"About 
You can put this solution on YOUR website!
To graph a line, all you need are two (x,y) points.
\n" ); document.write( "

\n" ); document.write( "For your first equation:
\n" ); document.write( "\"+y+=+3x+\", substitute in a few numbers for x and see what you get for y:
\n" ); document.write( "If x = 0, then y = 3(0) = 0. That gives us the point (0, 0).
\n" ); document.write( "If x = 2, then y = 3(2) = 6. That gives us the point (2, 6).
\n" ); document.write( "Now we can plot those points and draw the line through them:
\n" ); document.write( "\"graph%28300%2C200%2C-5%2C5%2C-8%2C8%2C3x%29\"
\n" ); document.write( "

\n" ); document.write( "For your other equation:
\n" ); document.write( "\"+y+=+-x+%2B+4+\", substitute in a few numbers for x and see what you get for y:
\n" ); document.write( "If x = 0, then y = -(0) + 4 = 4. That gives us the point (0, 4).
\n" ); document.write( "If x = 2, then y = -(2) + 4 = 2. That gives us the point (2, 2).
\n" ); document.write( "Now we can plot those points and draw the line through them:
\n" ); document.write( "\"graph%28300%2C200%2C-5%2C5%2C-8%2C8%2C-x+%2B+4%29\"
\n" ); document.write( "

\n" ); document.write( "Hope this helps. ~ Joe
\n" ); document.write( "
\n" );