What is $\left[h(x) = \dfrac{3x-2}{e^x} \right]'?$
My textbook tackles this problem in this way:
$h'(x) = \dfrac{e^x\cdot3-(3x-2)e^x}{(e^x)^2} = \dfrac{3-(3x-2)}{e^x}$ etc...
I however don't understand how this is correct? If one of the $e^x$ in the numerator would have gotten cancelled I would have not problem, but how come they're both cancelled?
