The screengrabs below include the broadcast subtitles.
James tells viewers that his "mom" has taken him out of the studio because she wants him to focus on his "math." His maths grades were slipping.
We then see him chatting to Riley and Chloe via webcam. Chloe explains that "everyone who's a part of A-Troupe has been taking shifts to help James with his math."
Chloe: Good job
In fact the correct answer is that cosecant is the inverse of sine - not cosine.
James says "It's important to pass, because if I pass it I get to go back to the studio. And I get a date with Riley."