Construct melodic segments by incorporating the provided motif with the designated musical pattern.
X:1
L:1/8
M:6/8
K:D
['A2 A AFA dcd', 'A d2 d dcB AdA'  
X:1
L:1/8
M:6/8
K:D
 F/G/ | A2 A AFA | dcd F3 | GFG EFG | B2 A F2 G | A2 A AFA | dcd A2 d | cBA BGE | D3 D2 :| A | 
 d2 d dcB | AdA F3 | GFG ECE | GBA F2 A | d2 d dcB | AdA F2 d | cBA BGE | D3 D2 :|  