The motion of the bob is simple harmonic, hence its time period is given by T=2π acceleration displacement =2πgl
Also if the periodic time of a pendulum is 2s, then it is called a second's pendulum.
Also, g=R2GM
where, M is mass, R is radius ∴T=2πGMR2l=2…(1)
Second's pendulum on other planet is 2=2πG(2M)4R2l′…(2)
From Eqs. (1) and (2), we have GMR2l=G(2M)4R2l ⇒l′=0.5m
Hence, length of pendulum on planet is 0.5m.