Merge similar projects (5-3-2) x 2+(6-5) x- 1
The result is x- 1.
Some websites have a detailed analysis of this kind of problems, such as onion mathematics, which is quite clear.