The first game is called Ganbare Goemon Gaiden: Kieta Ougon Kiseru, with the subtitle translating to something like "The Disappearance of the Golden Pipe," according to hardcoregaming101.net, while the second game's title is Ganbare Goemon Gaiden 2: Tenka no Zaihou (translated subtitle: "Treasures of the World"). Both are RPGs and were released for the Famicom in 1990 and 1992, respectively.

Although I've shied away from buying and playing untranslated Japanese-language RPGs since I attempted to work my way through the epic PC Engine-based adventure known as Tengai Makyō II: Manjimaru a few years ago, I may have to buck up and give these a go at some point, as the write-ups at hardcoregaming101.net make both of them sound (and look) pretty interesting.
See also: Other posts about box art