Compose a piece of music that follows both the given musical theme and the letter-based structure provided.
X:1
L:1/8
M:2/4
K:G
['d>cd>c dd G2 G2 B>A FG A2']  
X:1
L:1/8
M:2/4
K:G
 d>cd>c | dd G2 | G2 B>A | FG A2 | dd/d/eB | FG/G/AAAG | FADDAG | F2 A2 D2 d>cBd G2 | 
 A>GFG A2 d>cfe(3dcF | G4 |]  