We have the next formula for freefall movement
The height is the same for both rocks also the vf (final velocity) because of the next formula where also the gravity is the same for both rocks.
then if we isolate the t (time) of the first formula
We notice that the time will it take the 10 kg rock to reach the ground is the same as the 20kg rock that is t.
therefore the answer is the same time as the 20kg rock that is t.