I have the expression $\frac{x-y}{w-z}$ and I would like to rewrite it as a function of two fractions, $\frac{x}{w}$ and $\frac{y}{z}$. Ideally a linear combination of $\frac{x}{w}$ and $\frac{y}{z}$ and their powers. If that is not possible, a non-linear expression in $\frac{x}{w}$ and $\frac{y}{z}$ will also do.
(Apologies in advance for possible tagging this improperly ..)
@Babado has written it as a function of $x/w,\,y/z,\,w,\,z$. It can't be written as a function of $x/w,\,y/z$ alone, because e.g. $x/w=2,\,y/z=1$ is compatible with $\frac{x-y}{w-z}=\frac{2w-z}{w-z}$ taking any value $k\notin\{1,\,2\}$ via $w/z=(1-k)/(2-k)$.