In the expansion of
\[\left(1 + x + x^2 + \cdots + x^{27}\right)\left(1 + x + x^2 + \cdots + x^{14}\right)^2,\]
find the coefficient of $x^{28}$.

Let's think step by step and output the final answer within \boxed{}.
user