Let f(x) = 3x + 2 and g(x) = ax + b, for some constants a and b. If ab = 200 and f(g(x)) = g(f(x)) for x = 0, 1, 2, ..., 9, find the sum of all possible values of a.