revaerse of "linear"



Please teach me the modification method of the following formula.  1)f(z)+a*f(y)+f(x)-->f(x+a*y+z); kill(all);
declare(f,linear,a,constant);
f(x+a*y+z); the reverse modificationf(z)+a*f(y)+f(x)-->f(x+a*y+z); 2)1/(w^5+(a^2-2*b)*w^3+b^2*w)-->1/(w*((w^2-b)^2+a^2*w^2));I wiil try it.But I can not do it! kill(all)$
s1:1/(w^5+(a^2-2*b)*w^3+b^2*w);
s2:w*((w^2-b)^2+a^2*w^2);
s3:ratsimp(expand(%));
ratsubst(s2,s3,s1);