อันนีแบบหลักการรวมๆ นะคะหลักการมันจะเป็นประมาณนี้ ถ้า prepo + relative pronoun เช่น
This is the house which John lived in. = This is the house in which John lived. ทำการสลับ in มาอยู่หน้า which ค่ะ ตรงนี้มันพูดถึงสถานที่ค่ะ ก็จะเป็น This is the house in which john lived.
หรือ These are two sports which he competes in. = these are two sports in which he competes = นี่เป็นกีฬาที่เค้าลงแข่ง คือตรงนี้ in which คือมันแค่ย้าย prep มาหน้า which ค่ะ
That is the lady whom I made the promise to = ย้าย to มาหน้า whom = That is the lady to whom I made the promise. อันนี้คือ made a promise ต้องมี to ค่ะ ดังนั้น to whom
สรุป prep + relative pronoun ย้าย prepo ที่ติดกับกริยาด้านหลังมาหน้า which ทำนองนี้ค่ะ ดังนั้นคือย้ายได้ค่ะ ถ้ากริยาด้านหลังมี Preposition ตาม ก็ต้องดูว่า Verb ตัวนั้น ตามด้วย Prepo อะไร