Acceleration due to gravity at the given height, g′=(3R)2GM=91(R)2GM=91g, where g is acceleration due to gravity at the surface of the Earth.
Now, time period is given by, T=2πg′l
Also the time period of second pendulum is 2 sec.
Therefore, T=2sec
Then, 2=2πgl×9
⇒l=91m