Triangle

9 + 2r = 15
r = 3

triangle

c - a + 2r = b
2r = a + b - c