Compose a musical piece using the given motif and adhering to the outlined musical form.
X:1
L:1/8
M:4/4
K:Edor
['gf eBBA B3 c dBAd BAGF EDB,D', 'e2 gf eB B2 gB B2 defg'  
X:1
L:1/8
M:4/4
K:Edor
 gf | eBBA B3 c | dBAd BAGF | EDB,D G3 F | EDB,E DB,A,G, | B,EED E3 F | GEFD EFGA | Bded Bdgb | 
 afdf e2 :| gf | eB B2 gB B2 | defg afdf | g2 bg f2 af | gefd ed B2 | afdf edBc | dBAF DEFD | 
 EG=cA Bdgb | afdf e2 :|  