The locus of a point P which is equidistant from two given points S and…