Hey m8, this is actually extremely simple, just don't overthink it
Well, you know you have 293 apples. You know 6 apples are needed per pie.
The guy wants to make as many pies as he can, but obviously he will have some apples left over because 6 does not go into 293 an even amount of times.
It's basically asking how many pies can the guy make?
Well, it's simple. Take 6, pick a random high number, and multiply it out. Let's start out with 40, since we know 6*4=24, then 6*40=240. Ok, let's start going up. It a number between 40 and 50, so let's try 45. 45*6=270, but we can go higher. Let's try 48*6. 48*6=288. Now, this is the MAXIMUM amount of times you can make a pie, because another 6 apples would put you at 294 apples, not 293. He's short one.
Mr. Parson made 48 pies, and he had 5 apples left over.