Carmen walks at a rate of 2 miles per hour and jogs at a rate of 4 miles per hour. She walked and jogged 3.4 miles in 1.2 hours. For how long did Carmen jog and for how long did she walk?