Generate music with the following musical form represented in alphabets and the given motif.
X:1
L:1/8
M:4/4
K:Edor
['AG G2', 'f3 d']  
X:1
L:1/8
M:4/4
K:Edor
|: A2 dc AG G2 | (3EFG AB cA A2 | dedc AG G2 | AGcG ED D2 | A2 dc AG G2 | (3EFG AB cA (3Bcd | 
 ecdc AGEF | GEcG ED D2 :: f3 d e3 d | cA A2 (3Bcd eg | f3 d ed (3Bcd | eaag fdde | f3 d e3 d | 
 cA A2 d2 (3Bcd | ecdc AGEF | GEcG ED D2 :|  