Worked example: Derivative of 7^(x²-x) using the chain rule