We are given the function to differentiate:

Do take natural log on both sides, then we will be having


Now, differentiate both sides by using so called chain rule and the product rule


Hence, Option B) is correct
Product rule of differentiation:
Where, u and v are functions of x