Answer:
23, 199.
Explanation:
The total number of toothpicks need for n = 6 will be 6 on the bottom line, 6*2 = 12 for forming the triangles, and 6-1 = 5 toothpicks for the top line. That means 5+12+6 = 23.
In general for the case of n toothpicks on the bottom line, we will have (n * 3 ) for the n triangles , and (n-1) toothpicks for the top line for joining the top vertices.
Total = 3n + n-1 = 4n-1 .
For n = 50, the number of toothpicks total = 4*50 - 1 = 199.