Boy, last night’s Crazy Ex-Girlfriend was a doozy. Lots of stuff happened. But before that stuff happened, we got this amazing musical number where Rebecca was Marilyn Monroe and surrounded by mathematicians all trying to teach her about triangles.

This is, of course, because Rebecca is in a love triangle with Josh and Greg, but the mathematicians are actually trying to teach her about real triangles. This results in Rebecca saying a lot of silly, silly math puns. It’s glorious.

Also, she takes Marilyn’s “sexy baby” routine to, uh, the depths of stupidity:

Rebecca: Is this a triangle?
Mathematicians: No, that’s a shoe.
Rebecca: Is this a triangle?
Mathematicians: No, that’s you.
Rebecca: So I’m a triangle?
Mathematicians: What? No.
Rebecca: 1, 2, 3, 6, 8, 3, GO!
Mathematician 1: You don’t seem to know how to count.
Mathematician 2: We are sincerely worried about you.

Crazy Ex-Girlfriend airs on Fridays at 9PM on the CW.