Nearly a week passed before the girl was able to explain what had happened to her. One afternoon she set out ( 出发）from the coast in a small boat and was caught in a storm. Towards evening（天将黑时）, the boat struck a rock and the girl jumped into the sea. Then she swam (游泳,swim的过去式） to the shore after spending the whole night in the water. During that time she covered a distance（行过一段距离） of eight miles. Early next morning（第二天凌晨）, she saw a light ahead. She knew she was near the shore because the light was high up on the cliffs（悬崖）. On arriving at the shore, the girl struggled up the cliff towards the light she had seen. That was all she remembered. When she woke up a day later（第二天）, she found herself in hospital（发现自己躺在医院里）.
表示具体的距离 a distance of + 具体长度
high up on the cliffs 在高高的峭壁上 （up为形容词，表示在上面的，高高的，在较高处的，high为副词，修饰up)
On arriving on+动名词 相当于as soon as 或when 引导的时间状语从句