Using an electric hand mixer, beat the margarine, sugar, almond extract, vanilla extract, cream cheese and egg yolk until smooth. Add the flour and beat on low speed until combined. Wrap the cookie dough in plastic wrap and chill for 2 hours.
Preheat the oven to 375 degrees F. Line a baking sheet with parchment paper.
On a floured surface knead the dough into a soft ball. Roll the dough out to 1/4-inch thick and cut with a 1-inch cookie cutter.
Place the cookies on the prepared baking sheet. Sprinkle with sugar, then bake until golden brown, 7 to 10 minutes.
A viewer or guest of the show, who may not be a professional cook, provided this recipe. It has not been tested for home use.