Ship A heads north at a speed of 22.2 km/h while ship B heads east

Twenty two hours later they are 863 km apart

let me guess, you want to know the speed of the east-bound ship.

looks like a Pythagorean problem:

(24(22.2))^2 + (24t)^2 = 863^2

.....

see if you can get appr 28.28 km/h