Generate music by following the outlined musical form presented using letters and incorporating the provided motif.
X:1
L:1/8
M:4/4
K:Edor
['B,E{G}ED EFGA (3BdB eB', 'Beeg (3faf']  
X:1
L:1/8
M:4/4
K:Edor
|: ED | B,E{G}ED EFGA | (3BdB eB dBAd | BE{G}ED EGFE | DB, B,2 DFED | B,E{G}ED EFGA | 
 (3BdB eB dBAF | GEFE DB,B,d | BFAF E2 :: FA | Beeg (3faf ec | dBAF ADFA | Beeg (3faf ef | 
 dBAF{A} FEEA | Beeg (3faf ec | dBAF ADFA | GEFE DB,B,d | BFAF E2 :|  