Have the time presented by hours units, i.e 31/60+13/3600=0.52. To get the speed in mph, simply divide the distance in by mile by the hours. i.e your average speed is 2/0.52=3.84mph.