The position vector $r(t)$ of the front of a toy train at time $t$ seconds on a closed track is given by: $$r(t) = \sin \!\left(\frac{t}{3}\right) i + \frac{1}{2}\sin\! \left(\frac{2t}{3}\right)j, \quad t\ge 0.$$ where displacement components are measured in meters.
c) Find the exact time, in seconds, that it takes the train to complete one circuit of the track.
Well my initial working was to find the period $\frac{2\pi }{b}$, but there is $x$ and $y$ components of the period. What do they each represent? What is the period for the train to complete one loop?
The question then follows up with another question:
e) Write down a definite integral, which gives the distance travelled by the train when it completes exactly one circuit of the track.
So I did:
$$\int_{t_0}^{t_1}\left|v\left(t\right)\right|\:dt.$$
where $t_2$ is the start of period and $t1$ is the end of the period. Once again what period should I use? the $x$-component of the period or $y$? How do they differentiate form each other? What information does each of them carries?


c) The required time $T$ is the smallest common period of $x$-coordinate of $r$ (which is $6\pi$ seconds) and $y$-coordinate of $r$ (which is $3\pi$ seconds), that is $6\pi$ seconds.
e) This situation can happen, for instance, when the train travels from $0$ to $T$ seconds. Thus the required distance is $$\int_0^T |r’(t)|dt=\int_0^T\frac 13\sqrt{\cos^2\left(\frac t3\right)+ 2\cos^2\left(\frac {2t}3\right)}dt.$$