HERE LET THE DISTANCE TRAVELLED BY BOAT = x
SO mass of Mr mathur = 60kg
displacement with respect to boat = 2m, D (with respect to ground) = (x - 2)
now mass of Mr verma = 50kg
displacement with respect to boat = 2m( in opp direction) ,D (with respect to ground) =(2+x)
SO CENTRE OF MASS (SHIFT) = 0
SO 
M = mass of boat = 40kg
so 
so x = 0.13m in direction of Mr verma
BEST OF LUCK