Lucy: Think and Reason to Solve Text-to-SQL