Imagine two planets orbiting a star with orbits edge-on to the Earth. The peak Doppler shift for each 40 m/s
, but one has a period of 6 days and the other has a period of 200 days. The star has the same mass as the Sun.