A useful property of a norm induced by an inner product is the parallelogram equality: $2\|x\|^2+2\|y\|^2=\|x+y\|^2+\|x-y\|^2$. This is trivial to show. It is also the case that if the parallelogram equality holds for every pair of vectors in the space, then the norm is necessarily induced by an inner product. This fact is both harder to show and less useful than its converse.
I noticed that $$\begin{split}\text{RHS}&=\langle x+y, x+y\rangle + \langle x-y, x-y\rangle\\&=\langle x, x\rangle+\langle y, y\rangle +2\langle x, y\rangle+\langle x, x\rangle+\langle y, y\rangle -2\langle x, y\rangle\\&=2\langle x, x\rangle + 2\langle y, y\rangle\\&=\text{LHS}\end{split}$$
completing the proof of the parallelogram equality if the norm is induced by inner product.
I was wondering what the proof of "if paralellogram equality is satisfied then the norm is induced by an inner product" is. I'm looking at the second answer in here and don't understand the first step. Where did $\langle x,y\rangle = \frac 1 4 \left(\|x+y\|^2-\|x-y\|^2\right)$ come from? It looks like they are just proving that $\langle x, y\rangle$ is an inner product if it's defined in terms of the norm that satisfies the parallelogram equality. How does this show that the norm must be induced by an inner product?