① There are several [ways](名詞). いくつかの方法がある。
②Germs can be passed from patient to patient in the [ways](名詞). 細菌がその方法で患者から患者に感染する可能性がある。
→ Germs can be passed from patient to patient in [them](代名詞:目的格).
①+② ⇒ There are several ways in [which](関係代名詞:目的格) germs can be passed from patient to patient.
※them を which に変えて、①と②の文を結びつけたのが例文です。
参考にしてください。
You're welcome!😊
ありがとうございます!!