A particle is moving with velocity `u` through a straight line and its acceleration is equal to its displacement. At an instant, if displacement be `x` and velocity be `v`, then prove that `v^2=u^2+x^2`