A polynomial \( P(x) \) is given by \( P(x) = (x^2 + 5x + 6)(x^2 - 2x + 1) \). Find the coefficient of the \( x^3 \) term in the expanded form of \( P(x) \). Let's think step by step and output the final answer within \boxed{}.
user