Let P have points at (x,y)
I would assume that u would know the distance formula, so just use that, but since u r squaring it, then u do not need the square roots.
From then on, just simplify. and then make y in terms of x and then u should have ur locus.
if u dont know what distance formula is...