Construct tunes that conform to the predetermined musical pattern, featuring the provided motif.
X:1
L:1/8
M:9/8
K:G
['B2 G GFG BAG', 'd2 D'  
X:1
L:1/8
M:9/8
K:G
|: B2 G GFG BAG | c2 A ABG FED | B2 G GFG BAG | ABc DEF G2 A :: d2 D DDD GDG | E2 A ABG ABc | 
 d2 D DED GDG | ABc DEF G2 A :|  