The cave is w feet deep and they are already at x feet. If they are travelling at speed of y How much farther until they reach the end of the cave?
1218 - 849 = 369

369 / 17 = 21.7

Therefore, it will take them 21.7 more hours to reach the end of the cave.