Develop melodies according to the outlined musical structure, including the given motif.
X:1
L:1/8
Q:1/8=300
M:6/8
K:D
['.d2 A A2 F GAB A3 Bcd', 'BGB AFA'  
X:1
L:1/8
Q:1/8=300
M:6/8
K:D
 .d2 A A2 F | GAB A3 | Bcd efg | fed cBA | .d2 A A2 F | GAB A3 | Bcd efg | Adc d2 z :: .e2 A A2 f | 
 efg Tf3 | efg fed | cde A3 | BGB AFA | BGB AFA | Bcd cde | Adc d2 z :|  