Defining a boundary

hello everyone
How to define the border \gamma(x) with the function border + buildmesh in freefem ?
gamma

something like

border gamma (t=0,1){ label = your label;
x= t;
y= 1+0.1*cos(2 * pi * t); }

see the example Ground water page 170 of https://www.ljll.math.upmc.fr/hecht/ftp/ff++days/2021/FH-edp/ff-days-13.pdf and the example https://www.ljll.math.upmc.fr/hecht/ftp/ff++days/2021/FH-edp/edp2/freeboundary.edp