Given triangle $ABC$ with angle $C$ bisected to meet side $c$, we have the following sides of the triangle: $a$, $b$, $c$, $x$, $p$, and $q$ where $x$ is the angle bisector, $p+q=c$ (the two divisions created by the angle bisector.
We are expected to prove that $p=bc/(a+b)$ and (for the other triangle) $q=ac/(a+b)$. This likely uses LoS or LoC, but I'm not sure how.
Start off with the internal bisector theorem... $$\begin{align}\dfrac ba&=\dfrac pq\\\dfrac ab&=\dfrac qp\\\dfrac{a+b}b&=\dfrac{p+q}p\qquad(\text{Componendo})\\\dfrac{a+b}b&=\dfrac cp\\p&=\dfrac{bc}{a+b}\end{align}$$