The correct response to how Kepler developed his second law of motion is:
He made accurate measurements of the positions of all the planets over many years.
Kepler's laws are based on extensive and precise observational data collected by Tycho Brahe, which he analyzed to formulate his theories about planetary motion.