A body executing SHM has its velocity 10cm/s and 7cm/s when its displacements from mean position are 3cm and 4cm respectively. The length of path is