Out of every 8 loaves of bread that Markelle bakes, 5 of them are pumpkin bread.

At this rate, how many loaves of pumpkin bread would he have if he baked a total of 40 loaves of bread?