If the roots of the the equation x²+2cx+ab=0 are real and equal, prove that the equation x²-2(a+b)x+a²+b²+2c²=0.