So first what you want to do is find out how much closer they would be after one hour. Since they're both moving towards each other, that means they gain,
14 + 16 = 30 m in one hour.
(because they're both moving towards each other, so for the amount they get closer to each other, you want to add both of their speeds)
Since they were originally 180 miles apart, and you want to find how long it would take for them to be 20 miles apart, you want to just subtract 20 from 180 to find the total distance they have to travel.
180 - 20 = 160
Now divide 160 by 30 to find out how many sets of 30 miles, or one hour time periods, there are in 160 miles.
160 / 30 = 16/3 hours.
To make this into minutes, you can just multiply by 60.
16/3 * 60 = 960/3
960/3 = 320
So it'll be 320 minutes before they are 20 miles apart.