how to solve b2 variable in a trapezoid

A = (b1+b2)/2 * h

b1+b2 = 2A/h
b2 = 2A/h - b1