1., you get some one from the school to write for her.
2. just give the entire test orally and ask her the questions and let her answer you.
I have never herd of during an exam if the student is injured and cannot write that you can bring your own family or friends to help you write the answers for you.
they will always set the student up with either a later time to take the test or most always have a staff of the school write for the student. Of all of the people on earth WHY WHY WHY would they ask Rashi to do this.
Jigar was also there they could have had him go and do Rashi's job. Or better yet all of those school students who know Gopi and can help her with this problem.
I do think that what might happen and this is my opinion is that Since the teacher was sitting there and he observed the entire thing and say all of what Rashi was doing, and he herd the correct answers that Gopi gave to Rashi then maybe he will tell this to the principle and still pass her.