Question 1112965
If this is drawn out, it is a right triangle with legs of 18 and 25 with the hypotenuse the distance from port
hypot^2+18^2+25^2=949
hypot=30.81 km
The angle centered on the port has two parts, one the departure S 25 W, and the other the return bearing.
The tangent of that angle equals 25/18, so the angle is 54.25 deg
The bearing away from the port is S 29.25 deg E (the difference).  The bearing is the reciprocal.  
Converting to degrees, the bearing away from the port is 150.75 deg, so the bearing towards the port is 330.75 deg or W 60.75 N.