Solve for b, i.e separate b in one side and the other terms in the other side
A = ah + bh
A - ah = bh
(A - ah) / h = b
[tex]b= \frac{A-ah}{h} [/tex]
I hope that helps!