Create music using the given musical theme and adhere to the outlined letter-based structure.
X:1
L:1/8
M:2/2
K:G
['d2 BG', 'A2 FD B2 GE c2 AF d3']  
X:1
L:1/8
M:2/2
K:G
 d2 BG d2 BG | cdef agfe | d2 BG d2 BG | ABcB ABc^c | d2 BG d2 BG | cdef agfe | dgfe dcBA | 
 G2 B2 G4 :| A2 FD B2 GE | c2 AF d3 d | edcB cBAG | AGFE D4 | A2 FD B2 GE | c2 AF d3 d | 
 edcB cBAG | ADFA G4 :|  