for the first part, that's what i was trying to tell him,
that we only use the chain rule when we have a multivariable function, which is not the case.
As for the second part, i am not sure about it, because i know you can only use the chain rule with multivariable function.
Did u consider x...