I am going to use what you have so far.
a=3t+2
v=3/2t2 +2t+c
x=t3/2+t2+ct+d
v=3/2t2 +2t+c
x=t3/2+t2+ct+d
The fourth second is the 1 second interval between the 3rd second and the 4th second.
Hence, the distance traveled in the fourth second = x(4) -x(3) = 30
32 + 16+ 4c + d - ( 27/2 + 9 + 3c + d) = 30
48 + c - 22.5 = 30
From this point you can solve for c , and then for v(5).