A loaf of bread is cut into slices of equal size. Some of the loaf is used in a recipe and 2/12 of the loaf is used to make a sandwich. The remaining 7/12 of the loaf is put into the refrigerator. Write and solve an equation to find the fraction of the loaf of bread that is used in the recipe.