$$\dfrac{yz(y+z-x)}{x+y+z}=p \tag1$$ $$\dfrac{xz(x+z-y)}{x+y+z}=q \tag2$$ $$\dfrac{xy(x+y-z)}{x+y+z}=r \tag3$$
This group of equations comes from the problem "if the distances of incenter of an triangle to its vertices are $\sqrt{p}$, $\sqrt{q}$ and $\sqrt{r}$. Find the length of sides of the triangle". By applying barycentric coordinates, it is easy to get the group of equations above, with $x$, $y$ and $z$ as three sides of the triangle.
I have no idea how to solve this group of equations now. Any hints? Thanks!