Compose a musical work utilizing the given alphabet-based form and the provided motif.
X:1
L:1/8
M:6/8
K:G
['BAB GBd def gfg edB', 'def gfg']  
X:1
L:1/8
M:6/8
K:G
 D | G2 B BAB | GBd def | gfg edB | dcA A2 B | GBB BAB | GBd def | gfg edB | dBG G2 :: d | 
 def gfg | eag fed | def gfg | a2 A A2 B | G2 B BAB | GBd def | gfg edB | dBG G2 :|  