Here are the steps to solve this example:
1) Find the moment of inertia, I, of the composite section about the neutral axis:
I = I1 + I2 + A1*d1^2 + A2*d2^2
Where:
I1 = moment of inertia of rectangular section 1 = b1*h1^3/12 = 4*6^3/12 = 144 in^4
I2 = moment of inertia of rectangular section 2 = b2*h2^3/12 = 2*4^3/12 = 32 in^4
A1 = area of section 1 = b1*h1 = 4*6 = 24 in^2
A