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
Q:1/2=90
M:4/4
K:D
['F2 D2 F2 A2']  
X:1
L:1/8
Q:1/2=90
M:4/4
K:D
 A |"_as writ" d3 A>BA>G z | F2 D2 F2 A2 | d3 f e3 f | g>fe>d d>cB>A | d4 A>BA>G | F2 D2 F2 A2 | 
 d>fe>d a2 gf | e2 e>e e2 z ::  