$100$ regular triangles with side length $1$ are arranged in a row, as shown below:

What is the perimeter of the figure? What would the perimeter be if there were $x$ triangles?

For the answers to these questions, keep reading. Or, skip to the challenge for a more abstract problem.