hmm well im not exactly sure bc 1. her friend might not even tell you, or obv she is gonna tell the girl.
From my experience i saw this one dude whisper across the classroom to his friend who was sitting next to his crush, and he was like mouthing to him saying stuff like "ask if she likes me"
So we know she might potentially like you, bc she doesn't hate you given your context. You can either ask her yourself if you two end up alone or there is a chance, or you can ask someone to ask for you.
OH ALSO you can play like truth or dare or that one origami game and make one of the questions "Who is your crush", "ask your crush out", "sit next to a guy you like" in her case blah blah.
Or just buy her something nice like flowers or a stuffed animal ^^