Given the piecewise functions.
a. Graph the functions according to their restrictions.
b. Find f(3), f(-2), f(2), and f(6)
(22 if x < 2
f(x) = {6 if x = 2
| 10 - 2 if x > 2 and x < 6