list three ways a rectangle and a square are alike