Construct a musical arrangement using the specified alphabetical sequence and the given motif as a foundation.
X:1
L:1/8
Q:1/4=112
M:6/8
K:D
['A d2 d d2 B (BA) z', 'z2 F (GBG) E2 G (G F2)']  
X:1
L:1/8
Q:1/4=112
M:6/8
K:D
"^Allegretto" A | d2 d d2 B | (BA) z z2 (3F/G/A/ | (B2 G E2 C | D3) z2 F | (F2 E) E2 E | e3 z2 d | 
 (cBc d2 B) | A3 z2 || F | (GBG) E2 G | (G F2) z2 A | (d2 B) (e2 c) | d3 z2 d | (f2 e) (dcd) | 
 (B A2) z2 (3F/G/A/ | (B2 G E2 C | D3) z2 ||  