A particle moves along a given trajectory with a tangential acceleration $a_{t}=a_{0} \cos \alpha$ where $\alpha$ is the angle between the direction of motion and the $x$ -axis. Find how the velocity of the particle depends on $x$ provided its velocity is zero at the point $x=0$.