Develop musical compositions that maintain the outlined structure and integrate the provided motif
X:1
L:1/8
M:2/4
K:G
['BB/d/AE G4 BB/A/GG/A/']  
X:1
L:1/8
M:2/4
K:G
 eged | eg d2 | BgeB | d4 | BB/d/eg | dBAG | BB/d/AE | G4 | BB/A/GG/A/ | BB/A/ B2 | BB/d/AE | G4 | 
 BB/A/GG/A/ | B/BA/ B2 | BB/d/AE | G4 |]  