From law of conservation of angular momentum, J=Iω= constant ∴I1ω1=I2ω2
where I is moment of inertia and co the angular velocity.
Moment of inertia of earth assuming it be a sphere of radius R=52MR2
Also, ω=T2π ∴(52MR12)(T12π) =(52MR22)(T22π) ⇒T1R12=T2R22 ⇒24R12=(2R1)2×T21 ⇒T2=6h