Randall
J. Randall Murphy
Actually ... speed, distance and mass are factors in celestial mechanics, but mass doesn't tend to kick in too much until you get up to planetary sizes. If you want to learn about it you need to review Kepler's Laws. I did this back in university in astronomy 101. We went out to the Rothney observatory and calculated the mass of Jupiter by observing and timing its moons. Don't ask me to go back and figure out the math again though without some serious brushing up.