Compose melodies using the given motif and follow the designated arrangement.
X:1
L:1/8
M:4/4
K:D
['A3 B d2 fg agfd gfdA', 'Aded gfaf'  
X:1
L:1/8
M:4/4
K:D
|: A3 B d2 fg | agfd gfdA | G2 Bddc A2 | GAAG AdAG | A3 B d2 fg | agfd gfdA | GBeg f d2 d | 
 eAfd B4 :| Aded gfaf | Aded gfaf | Bfga f2 BA | GBBA d2 c2 | Aded gfaf | Aded gfaf | BddB AddA | 
 Geef d2 c2 | Adea aggf | Adea abgf | Bfga f2 BA | GBBA d2 c2 | Adea fdAG | Adea fdAG | BddB AddA | 
 Gdde f2 a2 ||  