Firstly, consider that the given circle will touch the sides AB and AC of the triangle at point E and F respectively.
Let AF=x
In ΔABC,
CF=CD=6(Tangents drawn from an exterior point to a circle are equal. Here,tangent is drawn from exterior point C)
BE=BD=8(Tangents drawn from an exterior point to a circle are equal. Here,tangent is drawn from exterior point B)
AE=AF=x(Tangents drawn from an exterior point to a circle are equal. Here,tangent is drawn from exterior point A)
Now, AB=AE+EB=x+8
Also, BC=BD+DC=8+6=14andCA=CF+FA=6+x
Now, we get all the sides of a triangle so its area can be find out by using Heron's formula as
2s=AB+BC+CA
⇒2s=x+8+14+6+x
⇒2s=28+2x
⇒s=14+x
Area of ΔABC=√s(s−a)(s−b)(s−c)
=√(14+x)(14+x−14)(14+x−(6−x))(14+x−(8+x))
Area of ΔABC=4√3(14x+x2)
Area of traingle is also equal to 12×base×height
Area of ΔOBC=12×OD×BC=12×4×14=28
Area of ΔOCA=12×OF×AC=12×4×(6+x)=2(6+x)=12+2x
Area of ΔOAB=12×OE×AB=12×4×(8+x)=2(8+x)=16+2x
Area of ΔABC= Area of OBC+ Area of ΔOCA+ Area of ΔOAB
4√3(14x+x2)=28+12+2x+16+2x
⇒4√3(14x+x2)=56+4x
⇒√3(14x+x2)=14+x
Squaring on both sides, we get
3(14x+x2)=(14+x)2
⇒42x+3x2=196+x2+28x
⇒2x2+14x−196=0
⇒(x+14)(x−7)=0
⇒(x+14)=0or(x−7)=0
⇒x=−14orx=7
However, length of the side cannot be negative, ∴x=7
Hence AB=x+8=7+8=15cm and AC=6+x=6+7=13cm