Vicky is a cook at a diner. Before the diner opened, she used 12 eggs to make a large frittata that will be sold by the slice. She will also use 3 eggs whenever someone orders an omelet. If Vicky uses a total of 39 eggs by the end of the day, how many omelets must have been ordered?
Write and solve an equation to find the answer.