Construct melodic segments by incorporating the provided motif with the designated musical pattern.
X:1
L:1/8
M:6/8
K:D
['f3 ecA d3 AFD EFG', 'd3 ABA AFA BdB AFA Bcd efg'  
X:1
L:1/8
M:6/8
K:D
|: f3 ecA | d3 AFD | EFG ABc | def ecA | f3 ecA | d3 AFD | EFG Agf | edc d3 :: ABA AFA | BdB AFA | 
 Bcd efg | Bgf ecA | f3 ecA | d3 AFD | EFG Agf | edc d3 :|  