
Aiden L. answered 11/10/20
Mathematics Tutor Specializing in Algebra and Calculus
So this is the squares to stairs problem based on your explanation.
Given that, the easiest answer should be the visual one.
First think about it first in the abstract.
You have a polygon that is hard to work with, so lets make it easier. If we put a second one conjoined with the original after being rotated 180 degrees, we can get a rectangle by matching up the zig zags.
By considering the original case, we can say that any given figure is going to have 2 sides (the straight sides of the greatest magnitude) that have the same number of toothpicks, t, as the figure number, n. Thus we can say that n determines t.
Then, consider our new rectangle, what length are each of its sides. one side should be t=n and the orthogonal sides should be t=n+1. We know what the area of a rectangle is so it's safe to assume that the original polygon will have an area corresponding to half of the area from the resultant rectangle.
Now, you should feel comfortable in writing an equation for the area based on the figure, n. Let the area be equal to half of the area of the rectangle you get from pushing two of the figures together.
Let the following represent the provided algorithm in the case of fig 3.
_
|_|_
|_|_|_
|_|_|_|
fig. 3
_ _ _
|_|_|_|
|_|_|
|_|
Flipped fig 3.
_ _ _ _
|_|_|_|_|
|_|_|_|_|
|_|_|_|_|
Rectangle from combining them.
Consider then the areas of each and how they relate to one another.