(I have edited your subject line to reflect the formatting you appeared to be using in your original post. Please provide corrections if our guesses as to your meaning are incorrect.)
Try factoring the m[sup:lt6zlps6]3[/sup:lt6zlps6] - 1, and see what cancels with one of its factors. (Hint: m[sup:lt6zlps6]2[/sup:lt6zlps6] + m + 1 does not, in fact, factor.)
:wink: