I am so sorry to hear about your situation, but I cannot do assignments for other people. I don’t think it’s right and I obviously don’t want to jeopardize your grade!
I would really suggest telling your teacher how the assignment affects you and ask if you could either receive a different one, or make it up in another way.
I hope you understand, and I hope everything goes well for you! <3