Construct a musical work that combines the specified musical pattern's alphabetical representation and the given melodic motif.
X:1
L:1/16
Q:1/8=100
M:2/4
K:D
['agfg e2A2', 'd2 A2 f2>e2 fefg a2g2 g2f2 g2>f2', 'agfg e2A2']  
X:1
L:1/16
Q:1/8=100
M:2/4
K:D
 A2 | d2>e2 fedc | edcB A2g2 | agfg e2A2 | agfg e2A2 | d2>e2 fedc | edcB A2g2 | agfg e2A2 | 
 d4 d2 :| A2 | f2>e2 fefg | a2g2 g2f2 | g2>f2 gfga | b2a2 g2e2 | d2>e2 fefg | a2f2 g2f2 | 
 gbag fedc | dfag fedc ||"^return to first part" d2>e2 fedc | edcB A2g2 | agfg e2A2 | agfg e2A2 | 
 d2>e2 fedc | edcB A2g2 | agfg e2A2 | d4 d4- | d8 ||  