There are two islands X and Y at a distance apart. A ship is moving back and forth between the islands X and Y transporting people and goods. Its back tip B is touching the island Y . The ship will move forward and reach island X exactly in twenty minutes from the time of departure , and its front tip A will touch the island X . There is a runway between the tips A and B on the ship. A man called K , jumps from the island Y on to the ship at the point B of the runway. Immediately the ship starts moving towards the island X . K takes rest for five minutes , and starts to run on the runway, at a uniform speed of forty metres per minute , from the tip B towards the tip A . When the ship reaches the island X , the tip A touches the island X . Exactly by the same time , K reaches the tip A and jumps on to the ground of the island X. There is no break in his run. If the ship always moves at a uniform speed of seven metres per minute , what is the distance between the islands X and Y ?