Consider the following premises. For all x_12, if x_12 works, then x_12 is cooking. If Jessica were a taxi driver, then Thomas is working. If Thomas cooks, then Jessica is a taxi driver. Can we infer the following from them? If we can, name the inference rule being used: If Jessica were a taxi driver, then Thomas is cooking.
 From the fact that for all x_12, if x_12 works, then x_12 is cooking we can infer that if Thomas works, then Thomas is cooking via universal instantiation. Finally, from the fact that if Jessica were a taxi driver, then Thomas is working, and that if Thomas works, then Thomas is cooking we can infer that if Jessica were a taxi driver, then Thomas is cooking via transitivity. Therefore, the answer is yes.