Casey travels from her house directly west to the bank and then directly north from the bank to the mall. She then travels home on the road connecting the mall and her house. What is her total distance traveled?
A) 17 miles
B) 32 miles
C) 37 miles
D) 40 miles