A piece of wire 100 cm long is cut into two​ pieces, each to be bent to make a square. The length of a side of one square is to be 4 cm longer than the length of a side of the other. How should the wire be​ cut?