Assemble a piece of music by merging the alphabetic representation of the predetermined musical pattern and the provided melodic theme.
X:1
L:1/8
M:4/4
K:D
['A>dd>e f>ed>A', 'D2 d>efg a>da>d b>gf>g a>fe>d d>ef>g a>fed']  
X:1
L:1/8
M:4/4
K:D
 A>dd>e f>ed>A | F>Ad>A GF E2 | A>dd>e f>ed>A | A>BA>F D2 D2 :: d>efg a>da>d | b>gf>g a>fe>d | 
 d>ef>g a>fed | (A/B/A/G/) (F/G/F/E/) D2 D2 :|  