So recently I've been looking around at some other problems to see if they could help me solve an ongoing problem, and I found a theorem that was mentioned that I feel that might be useful to my attempt at solving the ongoing problem. The problem goes a little something like this:
The area of a convex pentagon $ABCDE$ is denoted by $S$. Let $a$, $b$, $c$, $d$, $e$ be the areas of $ΔABC$,$ΔBCD$,$ΔCDE$,$ΔDEA$,$ΔEAB$; then prove that $S^2−S(a+b+c+d+e)+ab+bc+cd+de+ea=0$.
Now there wasn't a proof mentioned in that post for this theorem mentioned, and I looked around the web a bit for some context on this theorem, but I couldn't find who made or how to prove it, even after a few hours of searching. I figured I could ask for a bit of help here on solving this, as I haven't been able to make much progress on this problem yet. I initially was trying to find the area of each triangle in terms of two segments and then tried relating that back to the pentagon's area, but I just couldn't make much progress going that way. I would really appreciate it if anyone could give some ideas on proving this problem.

Let $AC\cap BE=\{K\}$, $AC\cap BD=\{L\}$, $CE\cap BD=\{M\}$, $CE\cap AD=\{N\}$ and $AD\cap BE=\{P\}$.
Since $$S_{\Delta BLC}\cdot S_{\Delta ALD}=S_{\Delta ABL}\cdot S_{\Delta CLD},$$ we obtain $$S_{\Delta BLC}\left(S-a-b-d+S_{\Delta BLC}\right)=\left(a-S_{\Delta BLC}\right)\left(b-S_{\Delta BLC}\right),$$ which gives $$S_{\Delta BLC}=\frac{ab}{S-d}.$$ Similarly we can get $$S_{\Delta CMD}=\frac{bc}{S-e},$$ $$S_{\Delta DNE}=\frac{cd}{S-a},$$ $$S_{\Delta APE}=\frac{de}{S-b}$$ and $$S_{\Delta ABK}=\frac{ea}{S-c}.$$ Id est, $$\frac{e}{S-c}\cdot\frac{e}{S-b}=\frac{AK}{AC}\cdot\frac{AP}{AD}=\frac{S_{\Delta}AKP}{S_{\Delta}ACD}=\frac{e-\frac{ea}{S-c}-\frac{de}{S-b}}{S-a-d},$$ which gives $$S^2-(a+b+c+d+e)S+ab+bc+cd+de+ea=0.$$