# Problem 5. (based on materials from the Ural Tournaments)

In triangle $ABC$, angle $B$ is $80^{\circ}$. On side $BC$, point $D$ is marked such that $AB = AD = CD$. On side $AB$, point $F$ is marked such that $AF = BD$. On segment $AC$, point $E$ is marked such that $AB = AE$. Find angle $AEF$.

![](https://cdn.mathpix.com/cropped/2024_05_06_19300bfa006950daee48g-3.jpg?height=1431&width=1697&top_left_y=344&top_left_x=192)