Develop a musical composition by incorporating the suggested motif and by following the prescribed format.
X:1
L:1/8
M:4/4
K:Edor
['BEGA BAGB AdAG F2 DF', 'Beed gfeg abaf'  
X:1
L:1/8
M:4/4
K:Edor
 dc | BEGA BAGB | AdAG F2 DF | GFGA BABc | (3def eg fddc | BEGA BAGB | AdAG F2 DF | GEGA BEec | 
 (3dcB AF E2 :| GA | Beed gfeg | abaf gfed | Bddc fedc | B2 GF EFGA | Beed gfeg | abaf gedB | 
 GEGA BEec | (3dcB AF E2 :|  