more factor



It doesn't do exactly what I think you want, but try (rat,a).
Rearranging is not the same as factoring.
I got (b*z+y+x)*a+d
For your xp.


RJF