A particle executing SHM has velocities u and v and acceleration a and b in two of its positions. Find the distance between these two positions.