Let (α,β) be any point on the directrix. A is the mid-point of ZS
Using mid point formula 2α+2=2, 2β−3=−1 ∴α=2 and β=−2+3=1. So Z(2,1)
Since directrix is parallel to x-axis and passing through (2,1), so its equation is y−1=0
Since PS=PM (for parabola) ∴PS2=PM2 ⇒(x−2)2+(y+3)2=(y−1)2 ⇒x2−4x+8y+12=0