The rectangles are 3 by 4. Which of the three bounding octagons have similar shape?

Scroll down for a solution to this problem.

## Solution

The first and third octagon are similar, the second is not.

Remark by Matthew Arcus: Once again, Bob Ruyle points the way to great generalities: take an isosceles triangle with height p, base 2q, then apex angle is 2α where tan α = q/p, then tan 2α = 2pq/(p²-q²), so 2α is also an angle of the Pythagorean triangle with sides p²+q²:2pq:p²-q².