In the figure, let AB=5 cm, BC=6 cm and AC=7 cm
⇒x+y=5 …..(i)
y+z=6⇒y=6−z
Substituting in (i), we get,
x+6−z=5
⇒x−z=−1 …..(ii)
Also, x+z=7 …..(iii)
Adding (ii) and (iii), we get,
2x=6⇒x=3, y=2, z=4
Therefore, the radii of the circle is 2, 3 and 4 cm