a cargo ships engines failed 100 miles away from the port . due to the changing wind direction , it is moving 12 miles towards the port and 6 miles away from the port . if the wind pattern remains same , how many miles it will travel before reaching the port ?