This is a standard first order differential equation with constant coefficients in the form
dy/dt + y = f(t)
There is a closed form solution derived from using the integration factor et times every term
ety' + ety = d(ety)/dt = t2et
Integrate and rearrange: y(t) = e-t(integral of t2etdt) = e-t((t2-2t +2)et + C) = Ce-t + t2 -2t + 2
Please consider a tutor. Take care.