It looks like you are assuming they are at the same distance from the star. The orbital path length of one is 8,700,000 miles based on a radius of 1,384,000 miles. The orbital path length of the Earth is 584,300,000 miles based on a radius of 93,000,000 miles. 8,700,000 miles/18 hrs = 483,333 mi/hr. For Earth, 584,300,000 miles/(365.25*24) hours = 66659 mi/hr. Computing the ratios of the two speeds we get 483.333/66659 = 7.25.
Typo. Should be
483,333/66659 = 7.25.