from sectionproperties.pre.library import rectangular_section, i_section

geom1 = i_section(d=203, b=133, t_f=7.8, t_w=5.8, r=8.9, n_r=8)
geom2 = rectangular_section(d=12, b=133)
compound = geom1 + geom2.align_center(align_to=geom1).align_to(
    other=geom1, on="top"
)
compound.offset_perimeter(amount=-2).plot_geometry()