You can put this solution on YOUR website! It can always be factored using the quadratic formula.
b^2-4ac for your problem = 1^2-4k=1-4k
--------
If 1-4k<0 the factors will contain complex numbers.
If 1-4k>=0 the factors will contain Real numbers.
--------
Do your instructions tell you there is a limitation
on the factors?
--------------
Cheers,
Stan H.