Using the given motif, compose a musical work that follows the prescribed musical form.
X:1
L:1/8
M:4/4
K:Edor
['', 'B2 AG', 'D2 d2', 'A2 dc de dc A2'  
X:1
L:1/8
M:4/4
K:Edor
"^A" |: B2 AG E3 E | GG AB c2 dc | B2 AG EE GA | BA AG EE GA | B2 AG E3 E | GG AB c2 dc | 
 B2 AG EE GA | BA AG EE =FE :|"^B" |: D2 d2 ed A2 | dc de dc A2 | D2 d2 dc AB | =c2 c2 cB GE | 
 D2 d2 ed A2 | dc de dc A2 | =c2 c2 cB AG | B2 AG A4 :|  