Understanding AI Prompt Engineering