Graphing a line given its x- and y-intercepts