Construct a piece of music using the designated motif as the basis, while ensuring the required form is followed.
X:1
L:1/8
M:4/4
K:Edor
['E2 BE', 'd2 fd c2 ec'  
X:1
L:1/8
M:4/4
K:Edor
|: E2 BE dEBE | E2 BE AFDF | E2 BE dEBE | BABc dAFD :| d2 fd c2 ec | defg afge | d2 fd c2 ec | 
 BABc dAFA | d2 fd c2 ec | defg afge | afge fdec | BABc dAFD ||  