from 0 = x2 - kx + 25, use the discriminant method to find the value of k that will result to a single intercept only. that is
b2 - 4ac = 0 for one root or one intercept
b2 - 4ac > 0 for two roots or two intercepts
b2 - 4ac < 0 if you wish them to have no intercepts