The velocity of the particle is given by the derivative of the position vector:
[tex]\vec v = \dfrac{\mathrm d\vec r}{\mathrm dt} = (2ct-6dt^2)\,\vec\imath + (4ct-2dt)\,\vec\jmath[/tex]
(a) The particle is moving in the x-direction when the y-component of velocity is zero:
[tex]4ct-2dt = 2t (2c - d) = 0 \implies t=0[/tex]
But we want t > 0, so this never happens, unless 2c = d is given, in which case the y-component is always zero.
(b) Similarly, the particle moves in the y-direction when the x-component vanishes:
[tex]2ct-6dt^2 = 2t (c - 3dt) = 0 \implies t=0 \text{ or }c-3dt = 0[/tex]
We drop the zero solution, and we're left with
[tex]c-3dt = 0 \implies c=3dt \implies \boxed{t = \dfrac c{3d}}[/tex]
In the case of 2c = d, this times reduces to t = c/(6c) = 1/6.