Use the ray tool to graph g(x)={−2x, x≥3
−1/3x−5, x≤3
Here : https://www.desmos.com/calculator/3jqxldqlpy
Try demos.com it helps a lot