Teacher Dashboard Checking Solutions with exponents

I am trying to code the answers in my activity so that the teacher dashboard shows a checkmark if it is correct. I coded the first two questions right, but I cannot get slides 4, 5, 6, and 7. I am TOTALLY new to coding, and this is obviously way over my head! HELP!!!
Here is my activity:

Try typing the answer you want into the math input. Then copy paste that into your CL. It will give you the formatting you want to check the latex. There are some evaluative ways using simpleFunction( ).evaluateAt( ) and countNumberUsage( ), but they won’t be able to distinguish if you have negative exponents or not.

That did it for me! type the answer in the preview and copy and paste it in the CL. Thank you Daniel!