Let $ABCDE$ be a convex pentagon wiht $CD=DE$ and $\angle{BCD}=\angle{DEA} = 90^{\circ}$. Point $F$ lies on $AB$ such that $\frac{AF}{AE}=\frac{BF}{BC}$. Prove that $\angle{FCE} = \angle{ADE}$ and $\angle{FEC}=\angle{BDC}$.
So what I did was extend $EA$ and $BC$ to meet at $G$ and drew circle $CDEG$. Then the problem was equivalent to if the ratio statement is true, then $CF\cap DA$ and $EF \cap DB$ lied on the circle. The diagram also reminded me of Pascal's theorem, but I don't know how to incorporate it due to the weird ratio condition. Any help would be appreciated.


We have that $EA$ and $CB$ meet at $D'$, the antipode of $D$ in the circumcircle $\Gamma$ of $CDE$. If we define $B'$ as $DB\cap\Gamma$ and $A'$ as $DA\cap\Gamma$ we have that $A,B$ and $G=EB'\cap CA'$ are collinear by Pascal's theorem. Now we just have to prove $G\equiv F$. The angles at $A'$ and $B'$ are the same since $CD=DE$, hence by the sine theorem
$$ \frac{GA}{GB}=\frac{GA'\sin\widehat{ABB'}}{GB'\sin\widehat{A'AB}}=\frac{GE\sin\widehat{ABB'}}{GC\sin\widehat{A'AB}}=\frac{GE\sin\widehat{ABD}}{GC\sin\widehat{BAD}}=\frac{GE\cdot AD}{GC\cdot BD}$$ and $\frac{GA}{GB}=\frac{AE}{BC}$ (from which $G\equiv F$) follows from Menelaus' theorem.