Google Classroom
GeoGebraGeoGebra Classroom

Figure 6 Hinged octagons and squares

Drag C to close and open the empty spaces. When the empty spaces vanish, octagons and squares form a tiling. Notice how squares and octagons can be made to share different sides.