If the teacher says "YES," then immediately put a remediation plan in place that includes Khan Academy on the areas that are causing problems. Based on what you wrote about the girl being unprepared for this level of work, I'd say the plan should include the basics of algebra and geometry before working actual Algebra II/Trig problems. Emphasize to the student that she is in a deep hole that will require great effort on her part to climb out of but show her the plan can succeed through dedication to do the work.
Go with T-bird’s recommendation regarding “Kahn Academy”
I have a couple friends who had their kids utilize Kahn.
Both kids ended up at Ivy League skrewels.
One is at Cornell and I forget where the other is.