Here is the tutorial.
Start Solidworks and make a sheet metal part like this one. For this feature we only need one flange.
Under Sheet metal tab click Hem.
Now select the edge of the base.
Change hem to bend outside.
Change the dia and length of the hem and click OK.
We have the hem feature generated.
Click Flatten to see the flatten view.