Construct musical compositions utilizing the given motif within the outlined structure.
X:1
L:1/8
M:6/8
K:G
['d BAG Bcd efe d2 d gfg', 'd2 c BAG Bcd efe d2 d', 'g2 g'  
X:1
L:1/8
M:6/8
K:G
 d | BAG Bcd | efe d2 d | gfg eag | g3 d2 || c | BAG Bcd | efe d2 d | gfg eag | fef g2 || g | 
 fga aba | afd def | g2 g gfe | ecc c3 | Bcd G3 | cde A3 | Bcd eag | fef g2 ||  