The problem states: $ABCD$ is a square with side $a$. $E$ and $F$ are considered midpoints of sides $AD$ and $AB$ respectively. Let $G$ be the point of intersection of the $EC$ and $DF$ segments. Show that the $\triangle EGD$ and $\triangle DCE$ are similar and deduce that $DG\perp EC$.

I've tried to prove that $\triangle EDG~\triangle DCE$ using the $AA$ postulate. I made $\angle ECD=α$, then $\angle CED=90°-α$. After that, I used angle properties like alternate interior angles and others all over the figure in the hopes of getting $\angle EDG$ to equal $90°$ in order to show perpendicularity. However, I was unsuccessful in all my attempts. Any idea on how I could solve this?
P.D.: I don't want a solution, just some guidance to solve this myself.
Triangles $DCE$ and $ADF$ are congruent by side-angle-side, showing $\angle EDG = \angle DCE$ and results follow.