Compose a piece of music that integrates the given motif and follows the specified musical form.
X:1
L:1/8
M:2/2
K:Edor
['EFGA BAGB', 'B2 efge', 'AFdF FE'  
X:1
L:1/8
M:2/2
K:Edor
 EFGA BAGB | AF F2 dFAF | EFGA BAGB | AFdF FE E2 :: [eB]B B2 efge | fa a2 bf{a}fe | eB B2 efge | 
 fagf efgf | eB B2 efge | fa a2 b2 ag | fagf (3efgfe |1 dBAF E2 [EB,]2 :|2 dBAF EFGA || 
 B2 BA BcdB | ADFB ADFA | B2{d} BA BcdB | AFdF FE [EB,]2 | dBBA BcdB | AD[FB,]B AF[FB,]A | 
 dB{d}BA B2 dB | AFdF FE E2 |]  