First off, * is multiplication (I prefer using the letter x/X as the algebraic constant) and ^ is "to the power of". So A^2 is "A to the power of 2" or "A squared" or "A*A" or "A*B" or "AB"

Try and see if you can figure it out, knowing what operations I use...