Compose music following the outlined musical form presented in alphabet characters, along with the provided motif.
X:1
L:1/8
M:6/8
K:D
['D FGA Bcd efg fdA BAB', 'd2 (c/d/) ecA ecA fdB fdB Bcd']  
X:1
L:1/8
M:6/8
K:D
 D | FGA Bcd | efg fdA | BAB Acd | AGF E2 D | FGA Bcd | efg fdA | BAB Agf | edc d2 :: (c/d/) | 
 ecA ecA | fdB fdB | Bcd AGF | GEE E2 E | FED GFE | AGF BAG | Bgf edc | ddd d3 :|  