(2a+rc)2=rc2+(p−2a)2

Then arc=p(p−a). Since rc=p−cS, we obtain by using Heron's formula
aS=p(p−a)(p−c)=p−bS2
a(p−b)=S
Since a, b and c form (in this order) an arithmetic progression, we have a=b−x, c=b+x and
p=23b,p−a=2b+x,p−b=2b,p−c=2b−x
Now by (1) and the Heron formula we obtain the equation
(b−x)2=3(4b2−x2)
which has a unique solution x=4b. Therefore a=43b, c=45b and then a2+b2=c2, i.e. ACB=90.