if a particle is moving in SHM ,in two positions its velocity is u and v and accelalaration in these positions are p and q .so, find distance between two positions.