Focus of the parabola y2=4ax is S(a,0)
And point P on the parabola is taken as (at2,2at)
Now, mid point of SP is (a+at22,at)=R(h,k), say
⇒a(1+t2)=2h and k=at⇒t=k/a
Now eliminating t we get, a(1+k2/a2)=2h
⇒k2=2ah−a2
Thus locus of R is y2=2ax−a2
y2=2a(x−a/2)
Thus directrix of this parabola is, x−a/2=−(a/2)⇒x=0