Today I learned about Chain-of-Thought Prompting which is a technique to get potentially better results from an LLM where you craft your prompt with an example of the chain of thought or steps in reasoning to solve a complex problem.

This gives a good explanation: https://www.promptingguide.ai/techniques/cot