That’s crap luck, it’s the one thing that bothers me about memory cards, and it’s why I never erase and re-use mine, I just copy the latest photos off then put the card away once full.
It’s the main reason I never use larger than 8Gb cards, even one of those corrupting would lose a couple of thousand photos, having a 16, 32, or 64Gb card crap out when nearly full give me the hives, although, by that time I’d hope that most have been copied onto the computer and backed up.
It’s possible that the card corrupted after those two photos, there may be nothing else retrievable from the card; that one above is a lovely photo though, and is, in my humble opinion, worth losing the others just to have that one.
One answer might be to use wifi cards; Transcend do a wifi card, up to 8Gb, I think, which allows the photos to be sent to a phone or pad via a matching app, so there’s less risk of the card corrupting while being read.