A person can walk 5 miles in the same time that they can jog 10 miles. If their jogging rate is 2 miles per
hour faster than their walking rate, find the average rate of each.