Construct melodic segments by incorporating the provided motif with the designated musical pattern.
X:1
L:1/8
M:2/2
K:D
['AS dcdA BGAF Ddfd ceAc dcdA fafd', 'edce f d2 f e>dcB', 'e>A c/B/A', 'f>ef>g a>fe>c B>FF>g a>ba>e f>ef>g a>fe>B'  
X:1
L:1/8
M:2/2
K:D
 AS | dcdA BGAF | Ddfd ceAc | dcdA fafd | Bedc d2 D :| !fermata!f | edce f d2 f | e>dcB c/d/e Ad | 
 edce f d2 f | e>dcB c A2 BS |][M:2/2][K:A] f | e>A c/B/A e>Aa>f | e>A c/B/A B>FF>f | 
 e>A c/B/A e>ca>e |{g} f>dB>e cAA :: g | a>ba>e f>ef>g | a>fe>c B>FF>g | a>ba>e f>ef>g | 
 a>fe>B cAA :|  