Need help making a flat pattern

Hello All

I'm having trouble making this part sheet metal and flattening it.

I can do just a tube, make it sheet metal and flatten it, but when i add the angle cut it won't work.

Any help would be greatly appreciated.

SolidworksSheet Metal