\dot{q}\ddot{q} + \omega^2q\dot{q} = & \dot{q}(\ddot{q} + \omega^2q) = 0\\