If you edit your posting and attach your notebook as a file containing your long complicated symbolic expression then someone can probably show how to do this. Otherwise there is far too much uncertainty that someone will guess what you expression looks like and give you a solution to a different problem.
Please include any additional information you might have about the, like the domains of the two variables, any assumptions about the range of the variables, etc. That will sometimes help when solving such problems.
Thank you