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 ?
ships overall distance covered per cycle is + 6 miles take 100 - 6 take 94 / 6 to lowest divisible number - 90 / 6 this means that it will take 15 ` ` overall ' ' actions to reach the 90 th mile . - 15 * 18 miles added later set cycle start at 90 . travel 10 miles and reach the anchor point - add 10 to total 15 * 18 + 10 = 280 miles in total answer : c
subtract(add(100, 12), 6)