This will send the oval behind the triangular shape. Follow the same steps for the oval that you created, adjusting the gradient accordingly. Gradient always gives a more realistic look to the image. As you can see in the image below for the final outcome of our witch hat.
How to Draw a Wine Glass on Adobe IllustratorHow to Draw a Bat on Adobe IllustratorHow to Draw a Ghost on Adobe IllustratorHow to Add Pattern to Shapes and Text in Adobe Illustrator?