Consider the following premises. For all x_7, if x_7 cooks, then x_7 is excited. If Mary were excited, then Mary is cooking. Can we infer the following from them? If we can, name the inference rule being used: If Mary cooks, then Mary is excited.
We can infer this via the universal instantiation rule. Therefore, the answer is yes.