Principal stresses in a rectangular tube

Sum moments about A to compute the reaction force at B:

Principal stresses in a rectangular tube