The Earth and Mars orbiting the Sun. Mars lies further from the Sun than the Earth does, and so has a longer local year.
The closer a planet lies to the Sun, the faster it must travel around it to escape being drawn in. [NASA]