Find the trajectory equation \(y(x)\) of a point if it moves according to the following laws: (a) \(x=a \sin \omega t, \quad y=a \sin 2 \omega t\) (b) \(x=a \sin \omega t, y=a \cos 2 \omega t\). Plot these trajectories.