well when you expand it you are supposed to get k^2x^2+x^2+10xk-6x+9=0
Expansion is the opposite of factorisation.
Have you even made an attempt to do a google search so as to see worked examples?
By the way, I'll make the assumption you want to solve for 'k' in this problem. Thus you will need to use the discriminant. I'll set it up for you, but the rest is down to you.
I don't know what the quesion is, but there will be a high-probability the discriminant will be greater than zero for two real roots. If the equation has one real root only, then convert the "greater than" sign to an "equals."