YOU SAID:
when you go to the bathroom, make sure you wash your hands before you leave
INTO JAPANESE
あなたがトイレに行くとき、あなたが出る前にあなたの手を洗ってください
BACK INTO ENGLISH
When you go to the toilet, wash your hands before you get out
INTO JAPANESE
あなたがトイレに行くときは、出る前に手を洗う
BACK INTO ENGLISH
When you go to the toilet, wash your hands before you leave
INTO JAPANESE
あなたがトイレに行くとき、あなたが出る前に手を洗う
BACK INTO ENGLISH
When you go to the toilet, wash your hands before you leave
That didn't even make that much sense in English.