Compose melodies that adhere to the given musical framework, integrating the provided motif.
X:1
L:1/8
Q:1/4=140
M:2/4
K:D
['(A/G/) FAdd d2 cB cdec A2 GF', 'GFED FAAF GFGA B2'  
X:1
L:1/8
Q:1/4=140
M:2/4
K:D
 (A/G/) | FAdd d2 cB | cdec A2 GF | FAdg fedc | d2 AF D3 :: A | GFED FAAF | GFGA B2 A2 | 
 dcde gfed | fgab a2 A2 | GFED FAAF | GFGA B2 d2 | AFdA BGFE | D2 DD D3 :|  