Construct melodic segments by incorporating the provided motif with the designated musical pattern.
X:1
L:1/8
M:4/4
K:D
['AG FDDC DFAd G2 FG =CDEG F'  
X:1
L:1/8
M:4/4
K:D
|: FG |"D" AFDF AFDF |"A" AGFE"D" D2 (3DEF |"C" GE=CE GECE |"Am" GFED"C" =C2 AG |"D" FDDC DFAd | 
 fdAF"Em" G2 FG |"Bm" AFDB,"C" =CDEG |"D" F D2 D D2 :: (3ABc |"D" d2 dc dfed |"A" cAA^G A2 AB | 
"C" =c2 cB cedc |"G" BGGF G2 AG |"D" FDDC DFAd | fdAF"Em" G2 FG |"Bm" AFDB,"C" =CDEG | 
"D" F D2 D D2 :|  