At noon, ship A is 10 nautical miles due west of ship B. Ship A is sailing west at 18 knots and ship B is sailing north at 22 knots. How fast (in knots) is the distance between the ships changing at 6 PM? (Note: 1 knot is a speed of 1 nautical mile per hour.)