Construct a melodic piece using the prescribed alphabetical outline and provided motif.
X:1
L:1/8
Q:1/4=110
M:3/4
K:D
['A2 d2 e>f (3g2 f2 d2 B2-', 'f>e d>g ba g>f e>f g/a/g/e/ f>d']  
X:1
L:1/8
Q:1/4=110
M:3/4
K:D
|:"^A" A2 d2 e>f | (3g2 f2 d2 B2- | B2 gf e>d | cd ec A2- | A2 d2 e>f | (3g2 f2 d2 B2- | 
 B2 gf e>d | cB/c/ d4 :|"^B" d>f ag f>e | d>g ba g>f | e>f g/a/g/e/ f>d | cd ec (A2 | d>)f ag f>e | 
 d>g ba g>f | e>f g/a/g/e/ f>d | cB/c/ d4 :|  