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:
7.8m questions
10.4m answers