The position vector of moving point at time $t$ is $\mathbf{r}(t) = \left(\sin(t),\cos (2t),t^2+2t\right)$. Find components of acceleration $\mathbf{a}$ in directions parallel to velocity vector $\mathbf{v}$ and perpendicular to plane of $\mathbf{r}$ and $\mathbf{v}$ at $t=0.$
I know the acceleration vector is the second derivative of the $\mathbf{r}$ vector, but how to proceed?