For the first one, we are told the $x$-intercept is at $-1$, this means the point $(-1,0)$ is on the line. Likewise, we are told the $y$-intercept is at $2$, this means the point $(0,2)$ is on the line. Plot those two points, then draw the line that contains those two points.
Can you proceed with the second problem?