What is the coefficient of the second term of the trinomial? (In other words, what is B?)

(3x − 1)^2 = 9x^2 −Bx + 1

In the blank, write what B equals. Use only numbers - no letters or spaces.