Answer
$y=\frac{1}{2}x-2$
Work Step by Step
Use the slope formula $m=\frac{y^2-y^1}{x^2-x^1}$ and the point-slope form $y-y_1=m(x-x_1)$ to solve this problem.
$x$-intercept $=$ $4$ or $(4,0)$ and $y$-intercept $=-2$ or $(0,-2)$
$\frac{-2-0}{0-4}=\frac{1}{2}$
$y-0=\frac{1}{2}(x-4)$
$y-0=\frac{1}{2}x-2$
$y=\frac{1}{2}x-2$