I've been trying to find a way to take the derivative of one expression with respect to another expression, but I can't think of any obvious way to do it, and I'm not even sure where I should start.
For example, would it be possible to find the derivative of $x^6$ with respect to $x^2$, or the derivative of $\sin(x)$ with respect to $cos(x)$?