After sailing due south for 25.2km, a ship turns into a westerly course and sails until it is exactly 28km in a straight line from its starting point. How far did the ship travel on the Westley heading?