I have to prove that numbers and can't be solutions of quadratic equation if coefficients are rational.

My solution is based on using Viete's formulas.

From we get that

.

So is then irrational number.

Knowing that, then is irrational number because

c is then easy to prove that its also irrational.

Is my proof correct?