How can I get my crush to talk to me when this other girl is around?

I have a class with my crush for a month so I thought it would be a great time to get him to notice me. We interacted for the first two days through a mutual friend but it wasn't a full blown conversation. On the third day a girl he knows well joined the class and Im not a fan of her. He spent most of the class speaking to her. Im afraid that all the classes will be like this. Is there anything I can do Ps I would rather not interact with this girl
How can I get my crush to talk to me when this other girl is around?
Post Opinion