solve make_square