Equations must be tackled in a specific order. An acronym to help remember this order is BEDMAS

  1. Brackets
  2. Exponent
  3. Division
  4. Multiplication
  5. Addition
  6. Subtraction

For more information and an excellent tutorial see Massey University BEDMAS tutorial