To relate the distances and speeds of two comets, Kepler's Third Law can be applied, which states that the square of the orbital period of a planet is proportional to the cube of the semi-major axis of its orbit. If the comets are in similar orbits, their speeds can be compared using their distances from the sun. The relationship between distance and speed can also depend on the specific characteristics of their orbits, such as eccentricity. If one comet's speed is known, the other can be calculated using the ratios derived from their distances. Understanding these orbital dynamics is crucial for accurate calculations of cometary speeds.