Note that the polynomials f(x)=ax3 and g(x)=−ax3 commute under composition. Let h(x)=x+b be a linear polynomial, and note that its inverse h−1(x)=x−b is also a linear polynomial. The composite polynomials h−1fh and h−1gh commute, since function composition is associative, and these polynomials are also cubic. We solve for the a and b such that (h−1fh)(0)=−24 and (h−1gh)(0)=30. We must have: ab3−b=−24,−ab3−b=30⇒a=1,b=−3. These values of a and b yield the polynomials p(x)=(x−3)3+3 and q(x)=−(x−3)3+3. The polynomials take on the values p(3)=3 and q(6)=−24. Remark: The pair of polynomials found in the solution is not unique. There is, in fact, an entire family of commuting cubic polynomials with p(0)=−24 and q(0)=30. They are of the form p(x)=tx(x−3)(x−6)−24,q(x)=−tx(x−3)(x−6)+30 where t is any real number. However, the values of p(3) and q(6) are the same for all polynomials in this family. In fact, if we give the initial conditions p(0)=k1 and q(0)=k2, then we get a general solution of p(x)=t(x3−23(k1+k2)x2+21(k1+k2)2x)+k2+k1k2−k1x+k1q(x)=−t(x3−23(k1+k2)x2+21(k1+k2)2x)−k2+k1k2−k1x+k2.