Create a composition using the letter notation of the specified musical motif and the provided melodic theme.
X:1
L:1/8
M:4/4
K:G
['A2 AG FGAB cAdc BGGG ABAG F2', 'de fded Adde f2 (3fgf (3efe de']  
X:1
L:1/8
M:4/4
K:G
 A2 AG FGAB | cAdc BGGG | ABAG F2 ea | fded Addc | A2 AG FGAB | cAdc BGGG | ABAG F2 ea |1 
 fded Addc :|2 fded Adde ||[K:D] (3fgf (3fgf e2 de | f2 (3fgf eAcA | f2 (3fgf e2 de | fded Adde | 
 f2 (3fgf (3efe de | f2 df ec A2 | ABcd efge |1 afeg fdde :|2 afeg fddc ||  