The distances sailed are small enough that the curvature of the Earth makes no significant difference and we can use plane trigonometry.
Let $P$ be our start point, $Q$ where we change course, and $R$ the end point. First choose $P$. Then draw a North-South thin line through $P$ as a guide. To reach $Q$ we turned $40^\circ 10'$ clockwise from due South, and sailed $15$ km. Draw $Q$. Draw a thin North-South line through $Q$ as a guide. We sail $21$ km in a direction $28^\circ 20'$ counterclockwise from due North. Draw the point $R$ that we reach.
By properties of transversals to parallel lines (our two guide lines), $\angle Q=40^\circ 10'+28^\circ 20'=68^\circ30'.$
We can now find the required distance $PR$ we are from our start position by using the Cosine Law. For $(PR)^2=15^2+21^2-2(15)(21)\cos 68^\circ30'.$ (I get $PR\approx 20.86$, but my calculations are not to be trusted.) Now for the direction. We will know everything once we know $\angle A$. For this, we could use the Cosine Law, but the Sine Law is easier. We have $\frac{\sin A}{21}=\frac{\sin 68.5^\circ}{PR}.$ I get (but again don't trust me) that $A\approx 69.5^\circ$.
If we use the North-South guideline, our position at $R$, as viewed from $P$ is obtained by facing due South and turning clockwise through about $40^\circ10'+69^\circ 30'$. To express this in the notation that your problem was put, subtract from $180^\circ$. We get $70^\circ 20'$. So $R$ is North, $70^\circ 20'$ West from $P$.