Chinese Calculus Professor

I am a little terrified at the moment as my Calc 2 teacher both mumbles and has a heavy accent. Anyways this is what caused me the most anxiety about the first class could someone please explain to me wtf he was trying to say by this?

these are two piece-wise functions

F(x)
1 x irrational
0 x rational

G(x)

0 x irrational
-1 x rational

and the integration of F(x)-G(x)=1 so um could someone please explain what he meant by x rational and x irrational.

Honestly, I would transfer, especially if you are going further with math (and/or physics). You don't want any surprises coming up later because you didn't grasp the fundamentals.
Grade-wise, though, I have to say I have had the easiest time in classes with teachers who are non-native English speakers because they tend to pass out prodigious (test-related) lecture notes to compensate for the communication problems. But I don't know if this is the case with your teacher.
Essentially, I think it all depends on your goals.

My computer science professor is chinese and he has a pretty heavy accent as well. I say give it a while and you'd learn to get used to it. Besides, you never know how many times you're going to have that same guy again. This will be my fourth semester having him.

Yea after looking at it more carefully I understand it now it was just kind of unfamiliar. I ended up transferring out into another class. What worried me most was that the class grade was based solely on a couple of tests but anyways thanks all for your help.