Writing an equation and graphing a line given its slope and y-intercept