From the given info,we can write as x1+x2+x3=9 and 1<=xi<=4( no party has absolute majority in committee)

Here the generating function would be (x+x^2+x^3+x^4)^3 (since x1,x2,x3 so cube)

so we need to find the coefficient of x^9 to get the answer