Create tunes based on the provided musical pattern and the specified motif.
X:1
L:1/8
M:6/8
K:G
['gfg d^cd B^AB GFG DFA cBA', 'a2 z'  
X:1
L:1/8
M:6/8
K:G
 d | gfg d^cd | B^AB GFG | DFA cBA | GBe def | gfg d^cd | B^AB GFG | DFA cBA | G3 G2 :|[K:D] A | 
 a2 z a2 z | a^gb afd | Ace gfe | dfb a2 A | a2 z a2 z | a^gb afd | Ace gfe | d3 d2 :|  