Toothpicks are used to form squares in the pattern shown:Four toothpicks are used to form one square, seven to form two squares, and so on. If this pattern continues, how many toothpicks will be used to form 10 squares in a row?

**Answer Choices**

A. 39

B. 40

C. 31

D. 35

E. 28