Question 1210399
.


On your request, I prepared a plot for this given piece-wise function.


See the link


<A HREF=https://www.desmos.com/calculator/x0xmwwlmtj>https://www.desmos.com/calculator/x0xmwwlmtj</A>

https://www.desmos.com/calculator/x0xmwwlmtj



I used online plotting tool DESMOS at this site


www.desmos.com/calculator/


which is free of charge for common use.


To get the plot, you simply print the formulas for the function.


The only trick is to write the condition "if" .  
For this purpose, you should use curved brackets.
See how I did it in the referred plot.