Let the quadratic polynomial be
ax2+bx+c and the zeroes be
α, β
Given that,
Then Sum of roots = α+β=−ba=−1
and Product of roots = αβ=ca=1
⇒a=1,b=1,c=1
The required quadratic polynomial is x2+x+1 after putting a,b,c.
Comparing with given polynomial mx2+x+1, we get m=1.