Reyna's house is 12 blocks due west of the school. Shaquille's house is 5 blocks due north of the school. Shaquille walks to Reyna's house every morning and then they walk to school together. What is the shortest distance Shaquille could walk on his way to school when he walks with Reyna?

assuming he walks along the street grid, that would be

5+12+12 = 29

If he cuts across the fields, then
13+12 = 25
since 5^2+12^2 = 13^2