No. For your first problem:Originally Posted by desperateneed
You got the second one right:
The general rules are:
Note: For future reference, click on one of the equations above to see how to code it in LaTeX. It'll be easier for you to write the equations with exponents.