I assume 1515 should be 15 and 2727 should be 27.
If the speed of the current is c this reduces the upstream effective speed: 77-c and increases the downstream effective speed: 77+c.
Time=distance/speed=15/(77-c)=27/(77+c).
15(77+c)=27(77-c).
1155+15c=2079-27c.
42c=924, c=22mph.