Find the equation of the locus of a point P(x,y) which is equidistant from Q(0,0)…