Answer
$y=\dfrac{1}{2}x-1$
Work Step by Step
The equation of a line in the point-slope form is the following:
$y-y_1=m(x-x_1)$, where $m$ is the slope and the point $(x_1,y_1)$ is on the graph.
Here, our line's slope can be calculated by the formula:
$m=\frac{y_2-y_1}{x_2-x_1}$, where the points $(x_1,y_1)$ and $(x_2,y_2)$ are on the line.
In this exercise, we are given the two intercepts, which means that the points $(2,0)$ (from the x-intercept) and $(0,-1)$ (from the y-intercept) are on the line.
We can plug in the coordinates of the two points to calculate the slope:
$m=\dfrac{-1-0}{0-2}=\dfrac{-1}{-2}=\dfrac{1}{2}$
Now we can just take one of the given points and complete the equation.
Therefore the equation can be written as:
$y-0=\dfrac{1}{2}(x-2)$
$y=\dfrac{1}{2}(x-2)\\
y=\dfrac{1}{2}x-1$