Payton brought packages of black t-shirts and packages of white t-shirts. Each package of black t-shirts contains 3 shirts. Each package of white t-shirts contains 4 shirts. Payton bought b packages of black t-shirts and 5 packages of white t-shirts for total of 38 t-shirts.

Which equation could Payton solve to determine the number of packages of black t-shirts, b, he brought?

A. 38 - 5(4) = b

B. 3b + 4(5) = 38

C. 38 - 3b = 5

D. 3(4) + 5b = 38