1st: Jake wishes he was so hungry----gets sandwhich
2nd: Finn wishes for ancient psychic tandem war elephant (elephant also makes a wish for finn also) cool
Jake wishes he wasn't so hungry because its so hard to think on an empty stomach, so he gets a sandwich.
Finn wishes for the ancient psychic tandem war elephant.
Then he commands the elephant to wish for his friends to be healed, so in a way, Finn got two wishes.