It was more like.. beat three tasks or solve the riddle to free the Fae from the evil queen.
I beat all three tasks, she got pissed and killed me after pointing out the only time she said she'd immediately free everyone was if I solved the riddle.
I figured it out just before I died and freed them.