Consider the following premises. If Jessica were a nurse, then James is playing squash. If James plays squash, then Jessica is a nurse. If James plays squash, then Jessica is a nurse. Can we infer the following from them? If we can, name the inference rule being used: Jessica is a nurse if and only if James is playing squash.
We can infer this via the biconditional introduction rule. Therefore, the answer is yes.