Determine the value of c so that each of the following functions can serve as a probability distribution of the discrete random variable X:

(a) f(x) = c(x^2 + 4) for x=0,1,2,3;
(b) f(x) = c(2,x)(3,3-x) for x=0,1,2