Solve for a s=(a+b+c)/2