If the average rates were 20 and 25 miles per hour, then together they cover 45 miles of the distance they are separated by per hour. The ships will be 30 miles apart when 270 miles have been covered, so it takes 270/45=6 hours to cover the distance. 6 hours after 5 PM is 11:00 PM.