Unlocking AI's Full Potential: The Power of Prompt Engineering and LLM Optimisation