Alright, lets get started.
The given expression is :

Firstly, we could take 2 as common factor out

-5x could be written as -8x + 3x

Now, taking x common factor out in first two terms and 3 common factor in last two terms


or

Answer is option d.
Hope it will help :)