The given parabola is y2=kx−8=k(x−k8).
Shifting the origin to (k8,0).
Equation of the parabola becomes Y2=44kX,
where X=x−K8 and y=Y.
Directrix of this parabola is X=4−k or x−k8=4−k
This will be coincident with x=1, if k8−4k=1 ⇒k2+4k−32=0 ⇒(k+8)(k−4)=0 ⇒k=4 or −8 ⇒k=4