Factor has done. I don't have the right keys on my phone, but-
for the first one-
multiply the two x's, you have x squared
multiply the outside ones, you get -4x
multiply the inside, you get 2x
multiply the last, you get -8
add them all together-
x2-4x plus 2x-8
simplify it
x2-2x-8. (the x2 is x squared)