Construct melodic segments by incorporating the provided motif with the designated musical pattern.
X:1
L:1/8
M:2/2
K:Dmix
['F3 G A3 B c2 dB cBAG', 'f2 (3efg fded'  
X:1
L:1/8
M:2/2
K:Dmix
|: F3 G A3 B | c2 dB cBAG | Add^c d2 (3efg | fdef dcAG | F3 G A3 B | c2 dB cBAG | Addc ABAG | 
 EFGE FD D2 :: f2 (3efg fded | A d3 Adde | f2 (3efg fded | A3 B c3 d | eaag efge | dfed cAAG | 
 Addc ABAG | EFGE FD D2 :|  