Rewrite the following statements in the form: 'p if and only if q'.
p: If a quadrilateral is equaiangular, then it is a rectangle.
q: If a quadrilateral is a rectangle, then it is equiangular.
The required statement is:
A quadrilateral is equiangular if and only if it is a rectangle.