Ferris wheel is once every 25 minutes, 240/25 = 9. 6 to the whole, that is, 9 times.
The pirate ship is once every 20 minutes, 240/20 = 12. If the point 12 is included, sail 12 times; if it is not included, sail 1 1 times.