Comparing $\pi^e$ and $e^\pi$ without calculating them
I read the answer there but I didn't understand one thing. How I should know to put $\dfrac{π}e-1$ instead of $x$? If I had this question on a test, I had no idea what to put instead of $x$. I mean, why the first thing I need to think about is to calculte when $x=\dfrac{π}e-11$ .
I hope you understand my question.
Note :
This is not a duplicate - I'm not asking what is bigger - I don't understand the answer, that's all!