the diagram shows how to draw a grid