.
The answer of 336 miles by @josgarithmetic is ABSOLUTELY INCORRECT.
It is incorrect, because on the way @josgarithmetic made arithmetic errors in his post.
See my correct solution and correct answer below.
The distance is the average speed multiplied by average time, which is 5 hours 45 minutes = hours = hours
distance = . miles = = 16*23 = 368 miles.