A particle executing SHM crosses points A and B with the same velocity. Having taken 3 s in passing from A to B, it returns to B after another 3s. The time period is
(a) 15s
(b) 6s
(c) 12s
(d) 9s