An ant leaves point $A$, walks $7 \mathrm{~cm}$ to the left, $5 \mathrm{~cm}$ up, $3 \mathrm{~cm}$ to the right, $2 \mathrm{~cm}$ down, $9 \mathrm{~cm}$ to the right, $2 \mathrm{~cm}$ down, $1 \mathrm{~cm}$ to the left and $1 \mathrm{~cm}$ down, arriving at point $B$. What is the distance $d$ between $A$ and $B$?
(A) $0 \mathrm{~cm}$
(B) $1 \mathrm{~cm}$
(C) $4 \mathrm{~cm}$
(D) $5 \mathrm{~cm}$
(E) $7 \mathrm{~cm}$
The correct answer is (C).

![](https://cdn.mathpix.com/cropped/2024_05_01_dbce7bc2a200e234c3e2g-34.jpg?height=393&width=808&top_left_y=427&top_left_x=821)