I'm looking at a proof on Wikipedia for Wiener deconvolution:
Wiener deconvolution - Wikipedia, the free encyclopedia

I understand the beginning:

After expanding the last line, it becomes:

I can see where the first and the last lines come from (they are the squares of the first and second terms respectively). However, I haven't been able to get the two lines in the middle. What I get for the middle expansion is:

What have I missed?