IMO 1988 LL USA82

The triangle ABC has a right angle at C. The point P is

IMO 1988 LL USA82

Origin: USA

Problem

The triangle ABC has a right angle at C. The point P is located on segment AC such that triangles PBA and PBC have congruent inscribed circles. Express the length x = PC in terms of a = BC, b = CA, and c = AB.