A tearful journey to rescue a dog that fell from a height of 40m into a rocky valley