If f(x) = 3x^2 - Bx + 4 and f(-1) = 12, what is the value of B?