I have the following problem:
Wolfram reduces it to:
But I can't think of how it comes to this conclusion. I'm really curious as to how this is solved. Any hints would be very helpful.