[math-fun] How can I get Mathematica to solve this?