Construct a musical piece that follows the designated lettered structure and integrates the provided motif throughout.
X:1
L:1/4
Q:1/4=100
M:4/4
K:Ddor
['F E', 'E F G', 'C D E F G A/<B/ A/>G/']  
X:1
L:1/4
Q:1/4=100
M:4/4
K:Ddor
"^(Editorial suggestion) Allegretto" D/>E/ | F E D C | c d A3/2 B/ |"^(a)" c B/A/ B G | 
"^(b)" A3 A | c B/A/ B G | A E F G |"^(c)" F E/D/ D C | D E F G |"^(d)" A A/>G/ F E | D3 || D/>E/ | 
 F E D C | c d A3/2 B/ |"^(a) var." c c d G |"^(b) var." A3 A/B/ | c B/A/ B G | A E F G | 
"^(c) var." F D D C | D E F G |"^(d1) var" A/>B/ A/>G/ G E | D3 || D/>E/ | F E D C | c d A3/2 B/ | 
"^(a) var." c c d G |"^(b) var." A3 A/B/ | c B/A/ B G | A E F G |"^(c) var." F D D C | D E F G | 
"^(d2) var" A/<B/ A/>G/ F E | D3 |]  