Generally to do these kind of problems see how to map from the first summation to second,
$$ \sum_{n=1}^{\infty} \frac{na^{n-1} }{(n-1)!} \xrightarrow[]{?} \sum_{n=1}^{\infty} \frac{n^2 a^{n-1}}{(n-1)!}$$
We can find by inspection that the operation we have to do is:
$$ Q() = \frac{d}{da} \left[a \left( \right)\right]$$
i.e: multiply by 'a' then differentiate. Consider our original series,
$$ \sum_{n=1}^{\infty} \frac{na^{n-1}}{(n-1)!}= (a+1)e^a$$
Apply $Q$ on both sides:
$$ Q \left( \sum_{n=1}^{\infty} \frac{na^{n-1}}{(n-1)!} \right)= \frac{d}{da} \left[ a( a+1) e^a \right]$$
By the premise, we can directly right LHS and simplifying the RHS by triple product rule:
$$ \sum_{n=1}^{\infty} \frac{n^2 a^{n-1}}{(n-1)!} = (a+1) e^a + a e^a + a(a+1) e^a$$
You'll reach the answer after simplifying RHS using algebra :)
Oh, and for deriving the first summation, consider LHS:
$$ \sum_{n=1}^{\infty} \frac{na^{n-1}}{(n-1)!}$$
And do a change of variables $n-1 = i$,
$$ \sum_{i=0}^{\infty} \frac{ (i+1)a^i }{(i)!} =\sum_{i=1}^{\infty} \frac{a^i}{(i-1)!} + \sum_{i=0}^{\infty} \frac{a^i}{i!} = a \sum_{i=1}^{\infty} \frac{a^{i-1} }{(i-1)!} + e^a = a e^a + e^a$$
Note:
$$? = \sum_{i=1}^{\infty} \frac{a^{i-1}}{(i-1)!} = \sum_{j=0}^{\infty} \frac{ a^j}{j!}$$
By reindexing