I didn't calculate the rotation angle theta.
I calculated the lateral deflection of the flange by using a 1 kip load and moment of Inertia equal to Iy/2 (moment of inertia of the flange).
In fact, I didn't calculate anything, these were arbitrary numbers to illustrate the steps.
If you want...