A train moved at a speed of 90 miles per hour for 2hours and then slowed down to 72 miles per hour.

AFind the total number of miles the train traveled.
BCalculate the average speed of the train.