Since you have none symmetry axis , S= (M/I )Y max is not valid , unless I is the principal moment of inertia .- You must turn the axis passing by center of gravity in an angle Tan 2T = 2 Ixy / (Ix-Iy) , and from this axis , measure Ymax .- Ixy is the product of Inertia .-
Ymax= (h/2cosT)
I = (Ix+Iy)/2 +( (Ix-Iy)/2 ) cos2T -Ixy sin2T
Example b= 20 cm , H= 60 cm , t=1 cm
Ix= (1/12) 60^3 *1 + 2 (20*1) (60/2)^2 =54000cm^4
Iy= 2* (20/2) ^2 * (20*1) =4000 cm4
Ixy= 2* ( ( 20/2)*30) * (20*1) =12000 cm^4
Tan 2T= 2*12000/ ( 54000-4000) = 0.48
T=12.82°
I principal = (58000/2) +(50000/2) *.0.90 - 12.000* 0.4327 =46308 cm4
Y max= 30/0.975 =31 cm
Smax = Smin = (M/46308 ) * 31 =M/1494
If M= 10 t-m = 1000000 kg-cm , and Smax = 1000000/1494 = 670 (kg/cm2)