Algebra Examples

Graph y=-x if x<2; x-6 if x>=2
I am unable to solve this problem.