You could do it with native tools but it would take some time. I drew the brim of the hat flat and used Shape Bender. You do need to work with the brim component standing on edge due to the way Shape Bender works but it’s quick and easy.
First of all, I want to thank you so much for helping me on my way of learning the basics of this program.
@john_drivenupthewall, thanks for showing me some of the ways to do it with the basic tools, I’m interested, I know you did it fast, but DaveR is right about it takes more time and the result is not going to be so smooth unless you are very precise and patient.
@DaveR, thanks for your piece of advice about Shape Bender, I guess you meant this extension: https://extensions.sketchup.com/es/content/clf-shape-bender, when I install it it says it says there is no plugin for my SU version (Make 2017), but I installed anyway and it seems it worked.
I notice during the process of drawing the brim of the hat that what @endlessfix taught me here could be another way of doing it with standard tools.