Solution:
We denote by (XYZ) and (WXYZ) the areas of △XYZ and quadrilateral WXYZ, respectively. We use the labels depicted in the following figure.
With equal perimeters, we get
a+b+z+x=c+y+z
or
a+b+x=c+y.
With equal areas, we get
(ABC)+(ACP)=(CDP)
Since △ACP and △CDP have the same altitude from C, we have
(CDP)(ACP)=yx⟹(ACP)=yx⋅(CDP)
With (2⋆), we have
(ABC)=(1−yx)(CDP)=yy−x⋅(CDP)
On the other hand, since ABCD is cyclic, we know that ∠D=180∘−θ. Then (ABC)=21absinθ and (CDP)=21cysin(180∘−θ). After noting that sin(180∘−θ)=sinθ and applying (1⋆), equation (3⋆) reduces to
ab=c(a+b−c)
This last equation is equivalent to
(c−b)(c−a)=0
which implies that b=c or a=c.