Generate music by following the outlined musical form presented using letters and incorporating the provided motif.
X:1
L:1/8
Q:1/8=180
M:4/4
K:Emin
['DEFA (3B^cd', 'Beed BddA Beef']  
X:1
L:1/8
Q:1/8=180
M:4/4
K:Emin
 A | B2 AF DEFA | (3B^cd Ad Bdef | dBAF DEFA | (3B^cd AF FEEA | B2 AF DEFA | (3B^cd Ad Bdef | 
 dBAF DEFA | (3B^cd AF FE E2 || Beed BddA | Beef gfed | Beed Bdef | dBAF FEEA | Beed BddA | 
 Beef gfga | bgaf gfef | dBAF FE E2 ||  