Principal stresses in a rectangular tube
Principal stresses in a rectangular tube

The bending moment 1 m to the right of pin support A is M=-7 kN-m. This moment will cause bending about the horizontal z axis, producing tension stress above the z axis and compression stress below.