Grigoriy S. answered 12/12/21
AP Physics / Math Expert Teacher With 40 Years of Proven Success
Hi, Tyler!
Let's do one step at a time. You a little bit confused me, because I prefer to see something like this: question No. 1, question No. 2 and so on. Anyway...
Time of N = 20 oscillations is t = N x T , where T - period for 1 oscillation. Now we use straightforward the formula
T = 2π√ L / g
You know everything and easily find time of 20 oscillations, which is
t = 2π N√ L / g
Now I believe we have a different problem or another part of the problem.
From the formula for the period of oscillations of a pendulum after squaring it, we can get
g = 4π2 L / T2 = 4π2 / (T2 / L)
We can plot the graph T2 vs L and find its slope; it will be T2 / L (tangent or gradient of the line). So I can write that
g = 4π2 / Slope
This is how you can find the acceleration due to gravity of any body, where gravitation exists.
Now about the acceleration due to gravity on moons A and B.
Acceleration due to gravity on any body with mass M and Radius R could be found with the use of the formula
g = G M / R2,
where G = 6.67 x 10 - 11 Nm2/kg2 - universal gravitational constant.
" twice as big, but with the same radius" - here you confused me. When we say "big" we talk about size.
Hope that you wanted to say that the mass was as twice as big. Then it makes sense.
If moon A has double mass , but the same radius as moon B, then acceleration due to gravity on it, g, will be as twice as big then on moon B (they have the same radii but one mass is doubled).
It means that for the moon with greater mass the slope of the graph T2 vs L will be steeper. Tangent of the graph will be 2 times greater for moon A compare to the moon B. That is it!
Hope that I help you to clarify the situation. Free to ask in comments any additional questions. Good luck!

Grigoriy S.
12/12/21
Tyler C.
Thank you for this and for taking the time to help me. I really appreciate it :D12/12/21

Grigoriy S.
12/13/21
Tyler C.
I really appreciate you helping me out. Im sorry for the weird layout. Late night haha I want to ask does this mean the time for 20 oscillations would be higher on Moon A than Moon B ?12/12/21