10. 設 \(A = \begin{bmatrix} 1 & 2 \\ 3 & 4 \end{bmatrix}\),\(B = \begin{bmatrix} x & 2 \\ 3 & 9 \end{bmatrix}\),若 \((A + B)^2 = A^2 + 2AB + B^2\) 成立,則 x = __________。