I worked out that the roots of this
are x=1 or x=-1 is this correct?
my classmate said he got x=-1 or x=1.7
There is something of an ambiguity about the term "roots". I learned that an equation has roots while a polynomial has zeros. Specifically, the zeros of the polynomial p(x) are the roots of the equation p(x)= 0. Strictly speaking, then, you can talk about the "roots" of the equation , or the "zeros" of the polynomial . But students tend to use "root" and "zero" interchangebly. In either case, since is the same as and, dividing both sides by 3, , the roots are indeed x= 1 and x= -1. As mr fantastic suggested, have your friend replace x in the equation by 1.7 and see what happens. He should get approximately "6", not "0".