5.18. In parallelogram $A B C D$, point $K$ is the midpoint of side $B C$, and point $M$ is the midpoint of side $C D$. Find $A D$, if $A K=6$ cm, $A M=3$ cm, and $\angle K A M=60^{\circ}$.
5.18. I n d i c a t i o n. Decompose the vector $\overline{A D}$ into vectors $\overline{A K}$ and $\overline{A M}$.

Answer: 4 cm.