Question 56508
  I need to write the equation of the line with given slope and y-intercept.  Then I have to graph each line using the slope and y-intercept.

  Slope:  5; y-intercept:  (0, -2)

  The slope-intercept form of a line is: {{{highlight(y=mx+b)}}}, where m=slope, and (0,b)=y-intercept.
Your slope is 5 and b is -2, substitute them where they belong in your formula:
{{{y=(5)x+(-2)}}}
{{{highlight(y=5x-2)}}}

To graph this, plot (0,-2).  From that point, use the slope to graph another point.  The slope {{{m=rise/run=5/1}}}.  Keep the sign with the rise and always run to the right to keep from getting confused.  In this case, your slope is +, so go up 5 units and right 1 unit and plot your second point, at what should be (1,3).  Connect your points and you should have a line that looks like:
{{{graph(300,200,-10,10,-10,10,5x-2)}}}
Happy Calculating, Sher!!!