5. In a convex quadrilateral $A B C D$, the lengths of sides $B C$ and $A D$ are 2 and $2 \sqrt{2}$ respectively. The distance between the midpoints of diagonals $B D$ and $A C$ is 1. Find the angle between the lines $B C$ and $A D$.
Answer: $\alpha=45^{\circ}$.