Compose a musical piece using the given motif and adhering to the outlined musical form.
X:1
L:1/8
M:4/4
K:Edor
['E3 A', 'Beed ef g2 Beed edBd'  
X:1
L:1/8
M:4/4
K:Edor
|: E^DEF G E3 | A B3 AGED | EDEF GFGA | BcdB AGFD | E^DEF G E3 | A B3 AGFD | E e3 B E3 | 
 A B3 AGED :: Beed ef g2 | Beed edBd | Beed efge | a2 eg fedA | Beed ef g2 | Beed edBd | 
 a3 g fedA | B3 B AGED :|  