Figure 3
Layout of class rectangle