solve for x

Pc/x = c/p

Pc/x = c/p,

Invert both sides:
x/pc = p/c,
Multiply both sides by pc:
X = p^2.