Create a musical composition based on the alphabetic representation of the predetermined pattern and the given melodic theme.
X:1
L:1/8
M:4/4
K:G
['BG D2']  
X:1
L:1/8
M:4/4
K:G
 B2 BA G2 GE | DEGA BA A2 | B2 BG ABGE | DEGA BG D2 | B/c/d BA G2 GE | DEGA BA A2 | d2 dB ABGE | 
 DEGA BG D2 | B/c/dgd edgd | Bdgd BAAc | B/c/d gd edgd | B2 Ac BG D2 | B/c/dgd edgd | Bdgd ba a2 | 
 b2 af gedB | AcBA GE D2 |]  