Suppose the distance between Boston and NYC=s miles. Let t be the time in minutes after 3.00. 80mph=1.33 miles per minute; 60mph is 1 mile per minute.
At t=0, let the positions of the trains, xFT and xPT, be xFT=0 (distance from Boston) and xPT=s, so after time t:
xFT=4t/3, xPT=s-t (negative because PT is coming towards Boston).
When the trains pass xFT=xPT=x, so 4t/3=s-t, 7t/3=s, so t=3s/7 minutes, and the distance x=4s/7 miles from Boston.
If s=187 miles, t=561/7=80.14 minutes or about 1hr 20.14min. So the trains would pass at approx 4:20 at about 106.86 miles out of Boston. (We haven't considered the unknown lengths of the trains.)