The position of to particles on the x-axis are given

S1 = 3t^3 - 12t^2 + 18t + 5 and

S2 = -3^3 + 9t^2 - 12t , where "t" is measured in seconds.

When do the particles have the same speed?

I cannot figure out how to derivate/integrate these.. Someone help?