Markus jogs 4 mi around a track at an average rate of r mi/h THen he cools down by walking 1 mi at a rate 3 mi/h slower. His whole workout lasts 1 h. At what rates did Markus jog and walk?