Compose a musical piece utilizing the given motif as the foundation while maintaining the required musical form.
X:1
L:1/8
M:6/8
K:Edor
['B2 E EFA', 'FED g2 e fed e2 B BAF', 'FED E3 EFE EFE'  
X:1
L:1/8
M:6/8
K:Edor
 B2 E EFA | B2 A Bcd | B2 E EFA | BAG FED | B2 E EFA | B2 A Bcd | AFD DEF | FAG FED :| g2 e fed | 
 e2 B BAF | B2 E EFA | BAG FED | gfe fed | edB (B/c/d)B | AFD DEF | FAG FED :| E3 EFE | EFE E2 D | 
 EFE EFA | BAG FED | E3 EFE | EFE (B/c/d)B | AFD DEF | FAG FED :|  