Concept:The sign of f′(x) determines whether f(x) is increasing or decreasing.Explanation:Given f(x)=xex(1−x).Using the product rule:f′(x)=ex(1−x)+xex(1−x)(1−2x)Simplify:f′(x)=ex(1−x)(1+x−2x2)=ex(1−x)(−2x2+x+1)Since ex(1−x)>0 for all x, the sign of f′(x) depends only on −2x2+x+1.For f(x) to be increasing, f′(x)≥0−2x2+x+1≥0Multiplying by −1 and reversing the inequality:2x2−x−1≤0Factorizing:(2x+1)(x−1)≤0Thus, x∈[−21,1].So f(x) is increasing on (−21,1).For f(x) to be decreasing, f′(x)≤0:(2x+1)(x−1)≥0Hence, x∈(−∞,−21]∪[1,∞).Therefore, the correct option is B.Answer:B. increasing in (−21,1)