Construct musical compositions utilizing the given motif within the outlined structure.
X:1
L:1/8
M:4/4
K:G
['AB G3 z', 'fdaf ggdc Bcde dBcA BG'  
X:1
L:1/8
M:4/4
K:G
|: B3 e dBGA | B2 Ac BG G2 | B2 Be dBGA |1 (3Bcd AB G3 z :|2 B2 AB G3 z |: ggdc Bcde | d2 ag fdaf | 
 ggdc Bcde | dBcA BG G2 :|  