the Given K^2-3K+5 = 0

determine the value of K^4-6K^3+9K^2-7.

if i were to solve this ... i will use the quadratic formula to solve the K. and if the value of K is solve then i will plug in to the expression K^4-6K^3+9K^2-7. Am i doing it right? if not please Guide me on this ...

Thank you and God Bless