Solve S = 2ab + 2bc + 2ac for b
b = (A - 2ac) / [2(a + c)]
(s-2ab-2ac)/2c= bthat is the equation to solve for b