how is rectangle similar to square?