Algebra Examples

Graph {x:-2<=x<=6}
I am unable to solve this problem.