the diagram shows how to use rectangles