I need to find the angle between two unit vectors $\overrightarrow{m}$ and $\overrightarrow{n}$ if the vectors $\overrightarrow{p}=\overrightarrow{m}+2\overrightarrow{n}$ and $\overrightarrow{q}=5\overrightarrow{m}-4\overrightarrow{n}$ are perpendicular to each other.
I have no idea how to approach the problem. All I can think of from the presented information is that the angle between $\overrightarrow{p}$ and $\overrightarrow{q}$ is $\frac{\pi}{2}$ and that the angle between the two unit vectors is $cos(\overrightarrow{m}.\overrightarrow{n})$
Calculating the dot product we get $$\vec{p}\cdot \vec{q}=5\vec{m}^2+10\vec{m}\cdot \vec{n}-4\vec{m}\cdot \vec{n}-8\vec{n}^2=0$$ We get $$\vec{m}\cdot \vec{n}=\frac{1}{2}$$