Pat traveled 50 miles at a constant speed. He increased his speed by 20 mph and traveled 30 more miles. If his total travel time was 1 hour and 45 minutes, how fast was he traveling on each leg of his trip?

Could anyone help me with this? I have a quiz on this stuff tomorrow and I just don't get it.

Thanks in advance,

A confused Math B Regents student in NY.