YOU SAID:
There are 30 minutes left of class and I have to pee.
INTO JAPANESE
クラスの残り30分があり、おしっこしなければなりません。
BACK INTO ENGLISH
There are 30 minutes remaining in the class and you have to pee.
INTO JAPANESE
クラスには残り30分あり、おしっこしなければなりません。
BACK INTO ENGLISH
The class has 30 minutes remaining and must be peeed.
INTO JAPANESE
クラスの残り時間は30分で、おしっこする必要があります。
BACK INTO ENGLISH
The remaining class time is 30 minutes and you need to pee.
INTO JAPANESE
残りの授業時間は30分で、おしっこする必要があります。
BACK INTO ENGLISH
The remaining class time is 30 minutes and you need to pee.
You've done this before, haven't you.