Verify that each given function is a solution of the differential equation

verify that each given function is a solution of the differential equation.
ty’−y=t2;y=3t+t2