I've tried simplifying the term by substituting $y := x^2$ and also to use a certain algorithm that outputs the f(a), but it gets too big for the input r, that is a variable and not a number to begin with (added little example):
If you have a good idea how to do this, please let me know
