how are squares and rectangles the same
They both have 4 sides and are both quadrilaterals
Squares and rectangles are both: parallelograms and quadrilaterals.