Answer: (A) Both assertion and reason are true and reason is the correct explanation of assertion.
Deriving the Assertion from the Reason. Since f(x)>0, take logarithms:
logy=g(x)logf(x)
The variable exponent has become a product, which is the whole point of the step. Differentiating with the product rule on the right and the chain rule on the left:
y1dxdy=g′(x)logf(x)+g(x)⋅f(x)f′(x)
and multiplying by y gives the Assertion exactly.
Check against a known case. With f(x)=x and g(x)=x the formula returns xx[logx+1], which is the standard derivative of xx.
So the Reason is not merely true alongside the Assertion — it is the step that produces it.