Compose a musical piece using the given motif and adhering to the outlined musical form.
X:1
L:1/8
Q:1/2=90
M:2/2
K:E
['edef gagf edec B2 A2 GBeB', 'de fBag fBdf eBgf edcB AFag'  
X:1
L:1/8
Q:1/2=90
M:2/2
K:E
 B2 | edef gagf | edec B2 A2 | GBeB agfe | d2 B2 B2 cd | edef gagf | edec B2 A2 | GBeB cAFD | 
 F2 E2 E2 :: de | fBag fBdf | eBgf edcB | AFag fede | f2 B2 B2 de | fBag fBdf | eBgf edcB | 
 AFag fedf | e2 E2 E2 :|  