Please help, I’m trying to learn but I’m having so much trouble not understanding.

Answer:
-6x^2 +5xy - 6x
Step-by-step explanation:
Remember PEMDAS.
First distribute -5x into (x-y+1), as well as x into (x+1)
distributing first part: -5x^2 + 5xy - 5x ( remember, subtracting a negative is like adding.)
distributing second part: -x^2 - x (These are both negative due to the - in front of the X in the original problem.).
Then just simplify it by adding like terms (terms with the same variables and powers.). -5x^2 + 5xy - 5x - x^2 - x
-6x^2 +5xy - 6x
Answer: -6x^2 +5xy - 6x