Develop a musical composition incorporating the given motif and maintaining the required musical form.
X:1
L:1/8
M:4/4
K:Edor
['dBAF E3', 'GEED E3'  
X:1
L:1/8
M:4/4
K:Edor
|: EB^GB AGEc | dBcA Beec | d2 fd AFDF | GEFD EDB,A, | B,EEF GFGA | (3BBB A=c Bdef | g2 fg effe |1 
 dBAF E3 D :|2 dBAF E3 A |: Beef gefd | B2 AG FDDA | Beef gefd | Be^df e2 ef | edBc d3 c | 
 BcdB AFDF | G B3 AFDF |1 GEED E3 A :|2 GEED E3 D |]  