Compose melodies based on the specified pattern and provided motif.
X:1
L:1/8
M:6/8
K:G
['g3 dBd ege', 'D3 d3 BdB c3 afd c3 AdA'  
X:1
L:1/8
M:6/8
K:G
 g3 dBd | ege dBd | gfe dcB | ABG FED | g3 dBd | ege fga | gfe Ad^c | d3 D3 :: d3 BdB | c3 afd | 
 c3 AdA | B3 gdc | B3 GBG | ABc def | gfe dBd | G3 d3 :|  