Help with Algebra 2, forgot how to do it

Answer:
[tex]f(x) = 3 \: \: \: \: for \: \: \: \: - 6 < x < 1 \\ f(x) = - x \: \: \: \: for \: \: \: \: 1 < x < 6[/tex]