Construct a melodic piece using the designated alphabetic pattern and the provided musical theme.
X:1
L:1/8
M:6/8
K:D
['Ad>e f2 g f3', 'a agB B2 g gfA A2 f']  
X:1
L:1/8
M:6/8
K:D
 Ad>e f2 g | f3 e3 | Ac>d e2 f | ed>B A3 | Ad>e f2 g | f3 e2 a | aAd f2 e | d3 d3 :| a | agB B2 g | 
 gfA A2 f | feG G2 e | ed>B A2 a | agB B2 g | gfA A2 f | fe>f gB>c | d>ed d3 :|  