I am currently at the subject factorisation and I have the following problem:
Fully factorize: $$ {x^2}-{a^2}+x+a $$
What I did was the following:
Create a common factor: $$ x({1^2}+1)-a(1^2-1) $$ But creating a common factor didn't work.
After a lot of guessing I got the correct answer: $$(x+a)(x-a+1)$$
My question is, is there any way of getting this answer without guessing a lot?