The first figure contains 2 dots, the second 6 dots, and the third 12 dots. If the pattern continues, how many dots would the tenth figure contain?