Compose melodies that adhere to the given musical framework, integrating the provided motif.
X:1
L:1/8
Q:1/8=150
M:2/2
K:D
['dAFA DFAd fdcd FAdf gfge', 'FAdA FAdB GBdB GBdB'  
X:1
L:1/8
Q:1/8=150
M:2/2
K:D
 dc | dAFA DFAd | fdcd FAdf | gfge fefd | e2 dB ABcA | dAFA DFAd | fdcd FAdf | gfge fdce | 
 d2 f2 d2 :| AG | FAdA FAdB | GBdB GBdB | Acec Acec | dfaf (3gfe cA | FAdA FAdB | GBdB GBdB | 
 Aceg fdce | d2 f2 d2 :|  