I'll admit it now: I understand most math and the concepts behind it. Regardless, I have much to improve upon when it comes to applying it and often make lots of stupid little mistakes.

So in this problem, can someone please tell me where the 8x comes from in the third line? It makes absolutely no sense to me. I'm sure it's another obvious detail I'm overlooking, lol.

Thanks in advance!