The MC has two options for her to live a happy life but the second option will be sad. Poor ghost girl.
1. The MC pulls a miracle drug of some sorts to bring her back to life to get a second chance of living like a normal girl again.
2. The MC solves what is keeping her here but doing so giving her closure that she finally passes on to the afterlife seeing her family in a sad bitter sweet ending.