i’m in desperate need of help

i started playing bass this year, my sophomore year, so i’m obviously not that good. there’s a playing test on friday for measures 67-74 (i think) of dance of iscariot and i can’t play any of it besides the two half notes at the beginning. i don’t know what to do because i don’t want to get a bad grade and not have an A in that class like i usually do, but i also don’t think i’ll be able to learn it in one day. im pretty sure im supposed to play g on the d string and i have no idea how to do that quick enough to get right back to an f sharp! idek how anyone could help on here and i wont see any of my classmates for help. i have no idea what to do, idk if i should talk to my teacher, another bassist, or just ignore the problem and learn it terribly.