Today I've got an insteresting question about geometry. Let's get into it.
Let $ABC$ be a triangle such that $AC$ is its shortest side. A point $P$ is inside it such that $BP = AC.$ Let $R$ be the midpoint of $BC$ and let $M$ be the midpoint of $AP.$ $E$ is the intersection of $BP$ with $AC.$ Show that the bisector of $\angle BEA$ is perpendicular to line $MR$
Is there any idea to go along this type of perpendicularity problems?


You can find the equation of the line $BF$ where $F$ is the midpoint of the segment $AE$ (that is the bisector of the angle $\angle BEA$).
Then you can "find" $M$ by assigning a value to $P$ (e.g: $(x, y)$).
The you find the equation for the line $MR$.
The lines are perpendicular if $f'(x) = -g'(x)$ where $f$ and $g$ are the equations for the lines.