How to make this flange

Sorry for the silly questions,

This flange was not made by me. I'm just trying to make the same type of flange with a 45 deg cut but I can't figure out how.

Thanks

Sammy

SolidworksSheet Metal