A body of mass m resting on a smooth horizontal plane starts moving under a constant force F. during its rectilinear motion, the angle θ between the direction of force and horizontal plane varies as θ=kx, where k is a constant and x is the distance travelled by the body from the initial position. What is the velocity of the body?