The bending moment acts about the axis; therefore, the neutral axis for this configuration will be the axis.
The base dimension is parallel to the neutral axis, and the height dimension is perpendicular to the neutral axis. The moment of inertia needed here is thus:
To calculate the transverse shear stress and the normal stress due to the moment, the moment of inertia will be computed from the familiar formula: