So he drove 5hrs, before lunch, now, he was going at speed, say "r", after he ate, he sped up by 10mph, so, his rate is whatever "r" is, plus 10, or " r + 10 ", after lunch
we know the whole trip took 10hrs, so, is 5hrs before lunch and 5hrs after lunch
we also know the whole trip was 500miles, so if he drove, say "d" miles before lunch, after lunch he drove the slack after lunch, or " 200 - d "
recall, your d = rt, distance = rate * time
and I'm sure you know what that is