can someone check if the answer is right?

for a) I divided by and got 10,000.suppose that in every stars orbited by an earth-like planet:

a) if there are stars in the milky way galaxy, how many of its planets are earthlike?

b) if there are galaxies in the universe, how many of its planets are earth-like?

for b) I divided by and got 10,000,000.