Compose a musical piece that incorporates the given motif and adheres to the specified form.
X:1
L:1/8
M:4/4
K:Emix
['B,EED B,A,G,A, B,EE^D EFGA B2 AF', 'e^dec =dBBA BAFE D2 FA dfed BFAF'  
X:1
L:1/8
M:4/4
K:Emix
|: B,EED B,A,G,A, | B,EE^D EFGA | B2 AF BAFE | DFED B,A,G,A, | B,EED B,A,G,A, | B,EE^D EFGA | 
 B2 AF BAF=D | B,EE^D E2 ED :: E2 GB e^dec | =dBBA BAFE | D2 FA dfed | BFAF DFED | B,EGB e^dec | 
 =dBBA BAFE | D2 FA dfed | BFAF E2 ED :|  