Construct musical compositions utilizing the given motif within the outlined structure.
X:1
L:1/8
Q:1/4=120
M:3/4
K:G
['GGG B2 AAA d2', 'dB ec'  
X:1
L:1/8
Q:1/4=120
M:3/4
K:G
 D2"^All exactly as written" | GGG B2 | AAA d2 | c2 GGB | AFD DEF | GGG B2 | AAA d2 | BG AGA | 
 GG G2 :| B/c/ | dB ec | d/B/G/G/ Bc | dB ec | d2 d2 B/d/ | dB ec | d/B/G/G/ B2 | ABA GFE | 
 DD DEF!D.C.! :|  