Marija travels to school by a combination of walking and skateboarding. She can get there in 38 minutes if she walks for 25 minutes and skateboards for 13, or in 31 minutes if she walks for 11 and skateboards for 20. How long (in minutes) would it take her to walk to school?