Place 200 grams flour in the bowl of a stand mixer and make a well in the middle. Put the 2 whole eggs and 2 additional egg yolks into the well.
Use a fork to whisk the eggs, slowly incorporating the flour, little by little, until a dough starts to form.
Knead with the dough hook until smooth and elastic, alternately, turn out the dough onto a lightly floured board and lightly knead the dough until smooth and elastic.
Dust with flour, then wrap in plastic wrap and let rest for 1 hour.
After the pasta has rested, lightly dust again with flour and press into a rectangle shape. From here you can either roll out the dough by hand using a rolling pin, or you can use a pasta machine to roll out the dough, starting at the widest setting, and dialing it down until your desired thickness (typically setting #4). Use as directed by your recipe.
Notes
Photos here are for one serving, which is 100g flour, 1 egg, and 1 egg yolk.