O is the intersection of the bisectors of the angles of triangle.
The sides of triangle ABC are divided into segments of lengths a, b and x by the inscribed circle of centre O and radius r as shown. Find x in terms of a, b and r.
The first part of the answer by the teacher is as shown:
Could someone please explain to me how ? For some reason, all I seem to be able to get is .