Complete the equation for the piecewise function graphed below.

1234567-1-2-3-4-5-6-7123456-1-2-3-4-5

  { if 6x1\displaystyle -{6}\le{x}\le-{1}
f(x)=\displaystyle {f{{\left({x}\right)}}}= { if 1<x2\displaystyle -{1}<{x}\le{2}
  { if 2<x6\displaystyle {2}<{x}\le{6}