Answer:
4 [miles].
Explanation:
1) the condition 'the entire trip took 5 hours' can be written as (where t_us - time spent upstream, t_ds - time spent downstream)
2) but the distance [D] upstream is equal the distance downstream, then the condition above can be written:
3) finally,
D=5*4/5=4 [miles].