two diagrams showing the same pattern as shown below