Note that x-intercept is the distance from the origin where the given line intersects the x-axis. Similarly, y-intercept is the distance from the origin where the given line intersects the y-axis.
As observed from the given figure, the straight line cuts the x-axis at (-2,0), and (0,-3).
It means that the line intersects the x-axis at (-2,0), and y-axis at (0,-3).
So the x-intercept of the line is -2 units, and y-intercept of the line is -3 units.