The smile is an arc: the same circle equation, but with the angle running over only part of a turn. Here it runs from 0.6 to 0.9 of a turn (216° to 324°), the bottom of a circle of radius 2.5 centred just above the middle:
(2.5 cos(0.6π t + 3.77), 0.5 + 2.5 sin(0.6π t + 3.77))
3.77 is 216° in radians, where the arc starts, and 0.6π is the 108° it sweeps. Lower the centre for a bigger grin; swap the range to 0.1–0.4 for a frown.
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 face yellow and the eyes black.