So f′(x)=(1+cosx)2sinx(1+cosx)2=sinx, which is Rohan's answer. Rohan simplified first: sin2x=(1−cosx)(1+cosx), so f(x)=1−cosx and f′(x)=sinx. Both are right.
Qasim's answer. He divided the derivative of the top by the derivative of the bottom: −sinx2sinxcosx=−2cosx. That is not the quotient rule. Test at x=3π: the correct value is sin3π=23, but Qasim's gives −2×21=−1. So Qasim is wrong.
Key idea: two answers that look different can both be right; show they are equal by simplifying, and test a suspect answer at a convenient point.
Why the other options are wrong
(B) This rejects Rohan, but Pooja's form simplifies to sinx, which is Rohan's answer. At x=3π both give 23.
(C) This accepts Qasim, who divided u′ by v′. The quotient rule is v2u′v−uv′; his answer gives −1 at x=3π instead of 23.
(D) This accepts Qasim, whose answer gives −1 at x=3π instead of 23. It also rejects Pooja while accepting Rohan, but Pooja's form equals sinx, so those two answers must stand or fall together.