Construct melodic segments by incorporating the provided motif with the designated musical pattern.
X:1
L:1/8
M:2/4
K:G
['DG B{c}B/{A}B/ cA B2 BA/G/ FG', 'FG AG'  
X:1
L:1/8
M:2/4
K:G
 DG B{c}B/{A}B/ | cA B2 | BA/G/ FG | AG FE | DG B{c}B/{A}B/ | cA B2 | BA/G/ FG |1 AG GF/E/ :|2 
 AG GB/c/ || d2 d>f | ed d>B | AG FG | AG GB/c/ | d2 d>d | ed d>B | AG FG | AG GB/c/ | d2 d>f | 
 ed d>B | AG FG | AG GF | DG B{c}B/{A}B/ | cA B2 | BA/G/ FG | AG G2 ||  