Formulate melodies by integrating the given motif within the predetermined arrangement.
X:1
L:1/8
M:4/4
K:D
['D2 AF BGAF D2 =cA BGGB Aaag', 'aecA d2 fd c2 ec Abag fedc'  
X:1
L:1/8
M:4/4
K:D
 D2 AF BGAF | D2 =cA BGGB | Aaag bgag | egdB =cBAF | D2 AF BGAF | D2 =cA BGGB | Aaag gaed |1 
 cABc dBAF :|2 cABc decd |: Bg (3ggg Bged | cAce aecA | d2 fd c2 ec | Abag fedc | Bg (3ggg Bged | 
 cAce aecA | daed caec |1 Bcde fedc :|2 BcdB AGFE ||  