Compose music by adhering to the prescribed format and merging the given motif.
X:1
L:1/8
M:6/8
K:D
['d2 A AGF GAB A3 Bcd efg', 'BGB AFA'  
X:1
L:1/8
M:6/8
K:D
 d2 A AGF | GAB A3 | Bcd efg | fed cBA | d2 A AGF | GAB A3 | Bcd efg | Adc d3 :: e2 A A2 f | 
 efg f3 | fgf e2 d | cdc B3 | BGB AFA | BGB AFA | Bcd efg | Adc d3 :|  