For some constants a and b let
f(x) = 10 - 2x if x <= 2
f(x) = ax + b if x > 2
The function f has the property that f(f(x)) = x for all x. What is a + b?