How do you find the value of #k# given that one solution of the equation #x^2-kx+21=0# is #3#?