Find derivatives using the chain rule II