Compose music by adhering to the prescribed format and merging the given motif.
X:1
L:1/8
M:6/8
K:G
['def gfg d2 B Bcd edc', 'c2 A ABA B2 G'  
X:1
L:1/8
M:6/8
K:G
 B/c/ | def gfg | d2 B Bcd | edc BAG | F2 D DBc | def gfg | d2 B Bcd | edc BcA | G3 G2 :| B | 
 c2 A ABA | B2 G GAG | c2 A ABA | B2 G GBd | def gfg | d2 B Bcd | edc BcA | G3 G2 :|  