Consider the following premises. If William listens to a song, then Jessica is drinking water. For all x, x is a lawyer. Jessica is not drinking water. Can we infer the following from them? If we can, name the inference rule being used: If William doesn't listen to a song, then Barbara is a lawyer.
We cannot infer that from the premises. Therefore the answer is no.