The given function is
The graph of the equation is constant function for .
Here, satisfies the inequality . Therefore, end with a closed circle at .
The graph of the equation is linear equation for .
Here, does not satisfies the inequality . Therefore, begin and closed with a closed circle at .
The graph of the equation is linear equation for .
Here, 2 satisfies the inequality . Therefore, start with a closed circle at .
The graph of the function is shown below:
