Compose a musical piece that incorporates the given motif and adheres to the specified form.
X:1
L:1/4
M:3/4
K:D
['E F G B A']  
X:1
L:1/4
M:3/4
K:D
 z2 F | F E ^D | E F G | B A ^G | A2 A/-A/ | d c d | e d B | A3 | z2 A/A/ | A E E | E F G | B A F | 
 d2 F/-F/ | A A A | G F E | D3- | D z2 |]  