As part of an exercise regimen, you walk 2 miles on an indoor track. Then you jog at twice your walking speed for another 2 miles. If the total time spent walking and jogging is 1 hour, find the walking and jogging rates.​