Design melodies by integrating the specified musical pattern and the provided motif.
X:1
L:1/8
M:4/4
K:D
['G2 FG', 'AFDF AFAc'  
X:1
L:1/8
M:4/4
K:D
|: (3ABc | d2 dc dfed | c2 AB A2 AB | =c2 cB cedc | BGAF G2 FG | AFDF AFAc | fdAF G2 FG | 
 ABAG FDEC | D2 DE D2 :: B2 | AFDF AFDF | AFAc d3 A | GE=CE GECE | GEGB =c3 B | AFDF AFAc | 
 fdAF G2 FG | ABAG FDEC | D2 DE D2 :|  