You can
put this solution on YOUR website!velocity = distance / time,,,,,t= d/v
.
1/4 /4 + 1/4 /2 + 1/2 /8 = 1/v avg
.
.0625 + .125 + .0625 = 1/v
.
.25 =1/v
.
v=4 mph
.
checking,,,let Distance = 16 miles (arbitrary)
4/4 + 4/2 + 8/8 = 4 = 16/4 ,,,,,ok