Compose a musical piece utilizing the given motif as the foundation while maintaining the required musical form.
X:1
L:1/8
M:4/4
K:Edor
['B2 GB', '(3Bcd ef'  
X:1
L:1/8
M:4/4
K:Edor
 B2 GB eBGB | A2 FA dAFA | B2 GB eBGA | (3Bcd Ba ge e2 | B2 GB eBGB | A2 FA dAFA | dBBA B2 BA | 
 (3Bcd BA ge e2 || g2 ef gfed | (3Bcd Ba ge e2 | gfef gefd | (3Bcded (3Bcd ef | g3 e gfed | 
 BzBA GEAG | E3 F G3 A | (3Bcd ef gfed ||  