Compose a musical piece using the given motif and adhering to the outlined musical form.
X:1
L:1/8
M:4/4
K:E
['BeGe BeGe cfAf cfAf egBg egBe']  
X:1
L:1/8
M:4/4
K:E
 BeGe BeGe | cfAf cfAf | egBg egBe | gbaf geec | BeGe BeGe | cfAf cfAf | egBg egBe | abc'd' e'eea | 
 gbef gabg | fbBc defa | gbef gabe | abc'd' e'eea | gbef gabg | fbBc defa | gbag fedc | 
 BAGF E3 e ||  