The alignment equation is x=-p/2.
According to the definition of parabola
(formula of focal radius | af | = x1+p/2): 6+p/2 =10, so p = 8, that is, the distance from the focal point to the sight line is 8.