The point P lies on x−y=0
or x−0cos45∘=y−0sin45∘=r=OP=6√2
P is (6,6). It also lies on circle
72+12(g+f)+c=0....(1)
Since y=x touches the given circle, its intersection with given circle will have equal roots.
∴2x2+2x(g+f)+c=0 has equal roots.
∴(g+f)2=2c.....(2)
Note : You will get the same result if you apply p=r.
Eliminating (g+f) between (1) and (2), we get
[−(c+72)]2144=2c
or (c+72)2−4×72×c=0 or (c−72)2=0
∴c=72[∵(x+y)2−4xy=(x−y)2].