(c) When $t = 0,\ x = r\cos\frac{\pi \times 0}{2} = r$;
When $t = 3s,\ x = r\cos\frac{\pi \times 3}{2} = 0$
Here $\omega = \frac{\pi}{2}$ or $\frac{2\pi}{T} = \frac{\pi}{2}$ or $T = 4s$
$\therefore$ In 3 sec, the particle goes from one extreme to other extreme and then back to mean position. So the distance travelled $= 2r + r = 3r$