Create a musical composition based on the alphabetic representation of the predetermined pattern and the given melodic theme.
X:1
L:1/16
M:2/4
K:G
['A2 A2']  
X:1
L:1/16
M:2/4
K:G
 e2 e g e2 d2 | e2 e g e2 d2 | B2 d e B3 A | A3 G E4 | E2 A2 A2 A2 | A2 B2 d3 e | B2 d2 B2 A2 | 
 A3 G E4 |]  