Explanation:
the answer is in the above image
use the app DESMOS it helps in drawing graphs like this
3.4m questions
4.4m answers