Because you are mentioning the chain rule, you must be referring to derivatives. The TI-89 can easily take the derivative of a problem like the one you posted. It's under Calc -> Derivative, or something like that. The syntax I believe is find the derivative function on the 89 under calc, input the expression you want to be differentiated, then put a comma and then x. That tells the calculator that x is the variable of differentiation. If you want to apply it at a certain point you can put another comma and the point I believe. Either way, add a closing parenthesis.