Let P(x,y) be the point on the locus such that its distance from the point A(1,0) is twice the distance from B(0,1)
i.e PA=2PB
⇒PA2=4PB2
⇒(x−1)2+y2=4(x2+(y−1)2)
but (p,p+1) lies on the locus.
⇒(p−1)2+(p+1)2=4(p2+p2)
∴p2=13
Now,12p2+12p4 = 123+129=6
∴12p2+12p4=6