A rectangle with all its sides equal is a _________.
A square is a rectangle with four equal sides.
Combine these two statements using, 'if and only if'
p:If a rectangle is a square, then all its four sides are equal.
q:If all the four sides of a rectangle are equal, then the rectangle is a square.