You can use an online calculator for that, the solution, and the calculator can be found at:
Under is screengrab of the answer:
The answer to Your puzzle is thus:
\(-\frac{644x}{5} + \frac{1288}{5} - \frac{2574}{5x + 10}\)
It really is a tedious task to go through all of that.