Try and bring that f up to a passing grade, I recommend dedicating free time to extra studying, maybe even wake up an hour earlier than you usually do for school to be able to study. Also, ask your teacher for extra credit, if she says no, say “so you’re powerless?” This is a psychology trick usually resulting in them responding with no…. and giving you a way to gain credit. It has worked for me so hopefully it can for you
Hope that helps :)