A boy goes 5 m due north and then 12 m due west. Find his distance from the starting point.
A man goes 40 m due north and then 30 m due west. Find his distance from the starting point.