Since each cake serves 12 people, then each cake has 12 slices. The city wants to serve 1500 slices per day, for 7 days, which is a total of:
The city needs a total of 10500 slices. Since each cake has 12 slices we need a total of:
The bakery needs to make 875 cakes.