You decided to visit a woodworker's home. This woodworker is very famous for their skills in marquetry - that is, setting pieces of wood to create patterns - and had a piece of a very geometrical nature assembled on top of their work bench, not yet glued together.
Unfortunately, you are a rambunctious young whippersnapper with no patience for these old things, so you decide to play an impromptu game of "the floor is lava" while in the workshop. In the course of this game, you accidentally knock the whole workbench over, spilling the contents all over the floor and causing the assembled design to scatter in many pieces.
You notice that the pieces are of three varieties as pictured and described below:
There are $24$ square pieces. Let us say they have side length $1$.
There are $40$ rhombuses. Each rhombus has two angles measuring $45^{\circ}$ and two measuring $135^{\circ}$. All their side lengths are $1$ as well.
There are $8$ isosceles right triangles. They have two sides of length $1$ and one side of length $\sqrt{2}$.
You decide that, in order to avoid trouble, you should reassemble the pattern based on the brief glimpse you got of the assembled piece before you carelessly careened into it. You recall three things: Firstly, the pieces fit together to form a regular octagon, leaving no empty space inside the octagon nor any overlap of multiple tiles. Secondly, you recall that squares did not border* other squares, nor did triangles border triangles, or squares border triangles. Finally, you recall that if two rhombuses bordered each other, then they were in rotated differently - that is, two bordering rhombi were never mere translations of each other.
You figure that as long as you reassemble a pattern satisfying all that, the woodworker will probably not notice any difference. How can these tiles be put together to form a suitable octagon?
(*"Border" here means "share an edge with in the completed tiling")