Assuming a is constant and you want the derivatives with respect to t, we have by the chain rule
Then for the second derivatives, we use the chain and product rules together:
9.3m questions
12.0m answers