Create a composition based on the provided motif while adhering to the necessary musical structure.
X:1
L:1/8
M:4/4
K:D
['BE (3EEE', 'de f2 fe'  
X:1
L:1/8
M:4/4
K:D
|: dc | BE (3EEE BEcE | BE (3EEE BcdB | cA (3AAA eAcA | ceef e2 :: de | f2 fe dcBA | effe d2 de | 
 f2 fe fgaf | ecAc e2 :|  