Trip took how many hour? Omitted. Let this be T.
Unknown distance each way may be d.
SPEED TIME DISTANCE
UPSTREAM 5 d
DOWNSTREAM 11 d
Total T 2d
--
Did you mean, "...the entire trip took FOUR hours." ? In that case, you would have T=4, and you can then evaluate d.