Solve for c a=1/2*((b+c)h)