Factorize each of the following expressions:
a2x2 + ax3 + x + a
= x (ax2 + 1) + a (ax2 + 1)
= (x + a) (ax2 + 1)