It has been some time since I have studied math (and even then it was base-level math), and I know this will probably be easy for most, but I need help with Simplifying Algebra equations.
Simple equations like so I can do: 3x + 7 + 9x -4 would (I really hope) equal 12x + 3, right?
I now have an equation I wish to get my head around, and it is:

Now I have done some searching for the guides on how to perform the above and have either ended up with base level answers which did not help the above, or more difficult examples I could not quite get my head around. I have attempted to get the answer then "work backwards" at it, but I cannot wrap my head around the following (Wolfram Alpha):

I would ask you, the wonderful users of this forum, to either help explain the above question, or provide me the ability to learn this independently.
Update
After looking into the FOIL method, I referred to my genius co-worker for assistance- I think he is able to explain things to an idiot (me) and it works. Basically we went through the quadratic formula method (which I understand!) and my workout was as follows:

This is how I have processed this equation (with great skill!):

I then apply the same method to the bottom and get the following:

With the top line, I understand we perform both 3+7 and 3-7 (which results in 5 and -2), however in the second option I assume (and this is merit to my lack of math knowledge), we performed the opposite function of minus due to the original sum being plus 5. Is this correct? Following on, performing both the addition and subtraction we get 6+4 which results in 10 and six minus 4 which results in two, which then when divided is 1. I am just attempting to understand why the 1 in this function is negative.
Can you please either highlight anything I am doing incorrectly, advise if there is a incorrect step or let me know if all is okay? Much appreciated!