Awkard Ex

Kay
I was invited a long time ago to an event this weekend that involves being part of a group singing a few rock songs for a fundraiser. We're in high school. There have only been a couple of rehearsals that I haven't been able to make it to because of prior commitments. 
The event is coming up really soon and I haven't practiced the songs with them. I'm sure I could learn them but I have big finals the next few days and need to focus. I also don't want to be around my ex: who is pretty much best friends with the girl in charge of the group and her boyfriend. After not being able to go to rehearsals, not being sent the song list until today, and half the group being good friends with my ex, I don't know if I can handle being there. 
I know it's wrong to cancel on things last minute. But I don't feel needed or wanted there and I have terrible anxiety. I have since middle
School. I might have a panic attack if I see him with this new girl he's been talking too. We were together for a year and a half and we were a huge part of each tigers lives. I know this is so immature but I think I need to back out. But I don't know how. Is this okay? And if it is what do I tell the group?