It seems pretty clear from the end that Reiji was shot and killed and that Eren died by suicide after eating the petal of a poisonous flower (nightshade?).
What isn’t clear is whether Eren knew Reiji had been shot. I don’t think she saw it, but I also don’t think she would have caused her own death while Reiji was still alive.
So, how did that play out?
I didn’t like that ending, but I also expected it. It was a tragedy, after all.