Run the following code
(5/x - 7/(x + 1)) ((x + 1) - x)
This result is expected because ((x + 1) - x) simplifies to 1.
5/x - 7/(1 + x)
But I was expecting this result as following instead.What's the code implementation for this?
-12 + (7 x)/(1 + x) + (5 (1 + x))/x