How to enable three column grid on single post page

How to create a design like an image below in the Casper theme on a single post page? I want to display a table of contents on the left side and have a space for banner ads on the rights side. I have already implemented the table of contents by following this article.
Can someone provide the code snippets, please?

Thank you.