You use this when you have two functions multiplying with each other. The formula to differentiate is:
Examples: (second example has pictures)
Typically, since distributing is relatively easier here, I would distribute and just use the power rule.