Create a musical composition based on the alphabetic representation of the predetermined pattern and the given melodic theme.
X:1
L:1/8
Q:1/8=160
M:6/8
K:D
['AGF G2 B', 'AFd AFd']  
X:1
L:1/8
Q:1/8=160
M:6/8
K:D
 d | AFF DFF | AGF G2 B | AFF DFD | EDD DdB | AFF DFG | AGF G2 B | AFA dAF | EDD D2 :| d | 
 BAd BAd | B/c/dc BAF | AFd AFd | AFd ABc | d3 fdB | AGF G2 B | AFA dAF | EDD D2 :|  