graph g(x){(-2x,x>=3)(-1/3x-5,x<=3)
is my graph below correct?
It's correct.
The function isn't very well specified. It's just fortunate that each expression produces the same value for 3.