SolidWorks Weldments using two different profiles in one sketch

Hello,

I'm not sure if I did this question correctly. could you please confirm that I did this question right?

Thank you

SolidworksWeldments