Do you remember if it was a live-action kid's educational show?
It's a bit of a reach, but it makes me think of 'Read All About It', which was an educational show (out of Canada) from 1979 to 1983. There were three children who were usually the protagonists, and the description for chapter 18 is:
Chapter 18: THE PLANET OF MAZE - Lynne and Sam help Chris and his uncle escape from the Planet of Maze by answering riddling questions.
They are riding around in what looks like an amusement cart ride.
It's VERY low resolution, but the episode in question can currently be seen here.