Is there a way to wrap a pattern around a loft?

I tried to do it but I still can't figure it out. Can someone help here?

Answers