Anatomy confusion

Okay so I am taking anatomy and physiology in high school and my teacher (she has her masters and is a registered athletic trainer) has said multiple times before “two holes, one tube” meaning that the pee hole and vagina somehow connect. She has also said that there is a chance you can get pregnant from anal because the tubes connect. I always thought it was three separate tubes and three separate holes. If my teacher is right could someone explain it to me in depth? Or is she wrong??