Determine the maximum load $\mathbf{P}$ that can be applied to the beam if the bearing plates $A^{\prime}$ and $B^{\prime}$ have square cross sections of 2 in. $\times 2$ in. and 4 in. $\times 4$ in. respectively, and the allowable bearing stress for the material is $\left(\sigma_{b}\right)_{\text {allow }}=400$ psi.