Focus of y2=8x is (2, 0).
Any focal chord is y−0=m(x−2)
or mx−y−2m=0
This focal chord touches the circle (x−5)2+y2=3
Then distance from the centre of this circle to the chord is equal to radius of the circle
or |5m−2m|√m2+1=√3
⇒3m=√3 .√m2+1
⇒9m2=3m2+3⇒2m2=1