Parabola is defined as the locus of points equidistant from a fixed point (called focus) and a fixed-line (called directrix).
=> MP2 = PS2
So, (b + y)2 = (y - b)2 + x2