Construct melodic segments by incorporating the provided motif with the designated musical pattern.
X:1
L:1/8
M:2/2
K:D
['DFAF G2 BG dGBG', 'ABde f2'  
X:1
L:1/8
M:2/2
K:D
 A2 AF DFAF | G2 BG dGBG | (3ABA AF DFAF | GBAG E2 DB | A3 F DFAF | G2 BG dGBG | AFAF DFAA | 
 GBAG EFDB || ABde f2 ed | g2 eg fedB | ABde fefg | afdf efdB | ABde f2 ef | g2 eg fdBd | 
 ABde fefg | abaf (3efe dB ||  