Ask your maths teacher to let you be exempt from 2U classes.
If they are for you dropping, then they will definitely be willing to sign a form to let you have the study periods and what not.
And if not, you can tell her that no matter what you are keeping 4U, and that your 2U teacher agrees to...