Factorize the following expression : a^2x^2 + (ax^2 + 1)x + a