Explanation:
The shaded part of the curve with interval 0 <= x <= 1 is not the whole curve.
The point of the curve that is furthest to the left has x-value -5.
The point of the curve that is furthest to the right has x-value 3.
Hence the correct domain is -5 <= x <= 3.