You must factor.
The factored form is equal to the assigned form.
Values a, b correspond to the factored 1, -1.
Value of x however remains unknown. But we can change that.
Given factored result,
We can set expression equal to 0 then find such x that when added with number a or b results with 0.
Hence x has 2 solutions.
Hope this helps.