The answers are 0 and 2
This can be found by looking at the x axis and finding every point where the line crosses