Anna walks to the library to meet Emma. After walking to the tree house, both girls walk to Emma's house. Later, Anna walks home by herself. Anna is only allowed to walk on the sidewalk. She is not allowed to take shortcuts. If each unit on the grid equals one city block, how many blocks have Anna walked in all?
A) 31 blocks
B) 35 blocks
C) 38 blocks
D) 40 blocks
![Anna walks to the library to meet Emma After walking to the tree house both girls walk to Emmas house Later Anna walks home by herself Anna is only allowed to w class=](https://us-static.z-dn.net/files/d5e/e305b1aa6df49eb71f1a976f509a31be.png)