Problem #PRU-100375

Problem

Cut a square into a heptagon (7 sides) and an octagon (8 sides) in such a way, that for every side of an octagon there exists an equal side belonging to the heptagon.