Create a musical composition that adheres to the provided structure and theme.
X:1
L:1/8
M:2/2
K:D
['d2 (fd)', 'AF GFEF GABc :|2 g fdec dBAF'  
X:1
L:1/8
M:2/2
K:D
|: AD (3DDD (AD)FD | ADFA BcdB | AD (3DDD (AD)FA |1 GFEF GABd :|2 GFEF GABc |]: d2 (fd) AdFA | 
 d2 (fd) cde |1 c | d2 (fd) (3(Bcd) AF | GFEF GABc :|2 g | fdec dBAF | GFEF GABd |]  