Phoenix hiked the Rocky Path Trail last week. It took four days to complete the trip. The first two days she hiked a total of 26
miles. The second and third days she averaged 12 miles per day. The last two days she hiked a total of 28 miles. The total hike for the first and third days was 22 miles. How many miles long was the trail?