I cannot tell from the pictures which is male and which is female unfortunately... if your female died she will not be able to lay eggs.

You can tell by looking at the abdomen whether your remaining insect is a male or female. I always like learning visually so here are some pictures online that depict differences in male and female genitalia:

grasshopper dissection <-- Scroll down to the image that is below the header " Grasshopper: External Features (Female and Male)"

HTML- zool\FACTS\Grasshopper- reproductive system