Concept:Factor out the common term (x+2) from both terms on the left-hand side, then simplify to isolate M.Explanation:Start with the given equation:(x+2)(x2−3x+2)+2(x+2)(x−1)=(x+2)MSince (x+2) appears in both terms on the left, factor it out:(x+2)[(x2−3x+2)+2(x−1)]=(x+2)MDivide both sides by (x+2), assuming x+2=0:(x2−3x+2)+2(x−1)=MExpand the second group:x2−3x+2+2x−2=MCombine like terms:x2−3x+2x+2−2=MSimplify:x2−x=MTherefore, the correct expression for M is x2−x.Answer:M=x2−xThis corresponds to Option D.