Compose a musical piece using the given motif and adhering to the outlined musical form.
X:1
L:1/8
M:4/4
K:Ddor
['E D>EG>c A/A/A A>d c>Gc>B A>GE<G D<DD>G', 'g<ee>a g<ed>e'  
X:1
L:1/8
M:4/4
K:Ddor
 E | D>EG>c A/A/A A>d | c>Gc>B A>GE<G | D<DD>G A/A/A (A>B) | c>de>d c<A A :| a | g<ee>a g<ed>e | 
 c>Gc>B A>GE<c | D<DE>G A/A/A (A>B) | c>de>d c<AA>a | g<ee>a g<ed>e | c>GA>G c>GE<c | 
 D<DE>G A/A/A A>B | c>de>d c<A A ||  