$ABCD$ is a square so $AB=BC=CD=DA=20$ and $AE=BF=15$.
Since $DAE \sphericalangle =90^0$ we can use the Pythagorean theorem so $AD^2+AE^2=DE^2$ and we get that $DE=25$.
We know that $DAE\sphericalangle=ABF\sphericalangle=90^o$, $AD=AB=20$ and $AE=BF=15$ so from (SAS) we get that triangles $DAE\equiv ABF$.
How to show that $AF \perp DE$, so that I can calculate $AM=\frac{AD\cdot AE}{DE}=12$
