If a shape has 2 right angles, then it is considered as a square or rectangle because having two right angles means the shape has 2 more right angles.
Hope it helps!
5.8m questions
7.5m answers