I cant create barrel cam

I tried to create the barrel cam but it didn't work. Can somebody tell me how exactly to create it. I read a lot of other posts but I dont get it. Here is what I did.

On the first pic is what i have to do , but obviously something is wrong. Can somebody help me.. please

SolidworksParts And Features