Please help! I will give fifty points and brainiest if you answer and get it right.

Answer: The tourist was in the taxi for 23 miles.
Step-by-step explanation:
Step-by-step explanation:
speed =4 miles/hour
distance travelled =31 miles
we have
speed =distance/time
time =31/4hour
for taxi
time =2hours
speed =50mph
distance covered by taxi =?
we have
speed =distance /time
50=distance/2
distance =50×2=100miles