Answer: (D) Assertion is incorrect, reason is correct.
Explanation:
Step 1: the Reason. f(x)=3x+2 is a bijection of R: solving y=3x+2 gives the single input x=3y−2 for every real y. So f−1(y)=3y−2 exists, and composition is associative, so
(g∘f)∘f−1=g∘(f∘f−1)=g∘IR=g.
The Reason is correct.
Step 2: use the Reason to find g. For any real y, put x=f−1(y)=3y−2, so that 3x=y−2:
g(y)=9x2+12x+7=(3x)2+4(3x)+7=(y−2)2+4(y−2)+7.
Expanding, (y2−4y+4)+(4y−8)+7=y2+3. So g(x)=x2+3, and the first half of the Assertion is true.
Check: g(f(x))=(3x+2)2+3=9x2+12x+4+3=9x2+12x+7.
Step 3: the "therefore" half fails. Compose in the other order:
(f∘g)(x)=f(x2+3)=3(x2+3)+2=3x2+11.
This is not 9x2+12x+7. At x=0, for example, (f∘g)(0)=11 but (g∘f)(0)=7. Finding g correctly tells us nothing about the reverse order: composition of functions is not commutative in general.
So the Assertion, which claims both parts, is incorrect.
Assertion incorrect, Reason correct: option (D).