The head is the top half of a circle: the same circle equation with t running over only half a turn, written as πt instead of 2πt.
The hem is a sine wave travelling right to left along the bottom:
(3 − 6t, −3 + 0.5 sin(6πt))
x goes from 3 to −3 while sin(6πt) makes three full waves, and it starts and ends at y = −3, exactly where the sides stop. Change 6π to 8π for four waves.
Press Copy all equations, open the Desmos graphing calculator, click into the first empty expression line and paste: each line becomes its own curve. Every curve uses t from 0 to 1, which is Desmos's default, so there is nothing to set up. Fill the eyes and mouth black.