For this case we have to:

Represents the total of apples available to the bakers.
If we have to use 7 apples for each apple pie, then we divide the number of apples by 7 to know how much apple pie they can make.
So, we have:

Thus, the bakers could make 38 apple pies.
Answer:
38 apples pies