This doesn't factorise into real factors, but this is how you could attempt to factorise it as a quadratic.
Let m2+mn+n2=0, then:
m2+mn=-n2,
m2+mn+¼n2=¼n2-n2,
(m+½n)2=-¾n2.
We could take the square root of each side, but the RHS is negative and the square root of a negative number is an imaginary number. Imaginary in mathematics means we use i to represent √-1.
So, m+½n=±½ni√3, making m=-½n±½ni√3.
Now we can factorise: (m+½n+½ni√3)(m+½n-½ni√3). These are called complex factors.
m2+mn+n2=(m3-n3)/(m-n).