Take the natural logarithm of both sides.

Differentiate both sides, remembering that ln 9 is a constant.