Find two numbers whose ratio is given and the difference of their squares is in a given ratio to their own sum.

Translate the above text into English, please keep the line breaks and format of the source text, and output the translation result directly.
$$
\frac{p^{2} x^{2}-x^{2}}{p x+x}=q \quad x=\frac{q}{p-1},
$$

the other number

$\frac{p q}{p-1}$.