At earths surface the value of time period is given by
T = 2π √L/g
where L is the effective length of the simple pendulum and g is the acceleration GM/R2 = 4/3 πRGp. At depth h if the period is Th and acceleration due to gravity is gh,
Then Th = 2π √L/gh
Th = T√R/√R−h
Thus Th is inversely proportional to √R−h
Time period at h = R/2 is given by
TR/2 = 2 √R/R−/2 = 2√2 = 2.8 sec