Hi

Integrating leads to

The particle starts at rest at time t=0. This means that and therefore C=0 and

Integrating leads to

The particle starts at the origin at t=0. This means that and therefore K=0 and

Now substitute into and solve the same way