Compose a musical piece that incorporates the given motif and adheres to the specified form.
X:1
L:1/8
M:4/4
K:Edor
['E2 (3EEE (3FGA', 'G>d (3ddd'  
X:1
L:1/8
M:4/4
K:Edor
|: E2 (3EEE (3FGA B>G | (3EFG B>G A>DF<D | E2 (3EEE (3FGA B>c | d>cd>B A>DF<D :: G>d (3ddd e>cd>B | 
 G>Bd>B A>FD<F |1 G>d (3ddd (3edc d>f | e>cd>B A>FD<A :|2 G>dc>d e>cd<G | d>cd>B A>DF<D ||  