DSolve[{y''[t] + 3y'[t] + 2y[t] == UnitStep[t-2]*Exp[t-2], y[0] ==0, y'[0]==1}, y[t],t]

Simplify[%]