The City Sights tour company had the same ratio of tourists to guides on both days this weekend. On Saturday, there were 120 tourists and 18 guides. On Sunday, there were 40 tourists.

How many guides were there on Sunday?

Since the ratio of tourists to guides was the same on both days, we can set up a proportion to solve for the number of guides on Sunday.

Let's call the unknown number of guides on Sunday "x".

The ratio of tourists to guides on Saturday was 120/18 = 6.7 tourists per guide.
The ratio of tourists to guides on Sunday was 40/x = 6.7 tourists per guide.

To find the value of x, we can solve the equation 40/x = 6.7.

Cross multiplying, we get 6.7 * x = 40.

Dividing both sides of the equation by 6.7 gives us x = 40 / 6.7 ≈ <<40/6.7=5.970149253731344>>5.97.

Therefore, there were approximately 5.97 or 6 guides on Sunday.