Craft a musical work based on the specified structure and given theme.
X:1
L:1/8
M:2/2
K:D
['dBAF D2 DF', 'FDD A dcde gfe^d e^def gBBd efga', 'AdBd AdBd'  
X:1
L:1/8
M:2/2
K:D
 c | dBAF D2 DF | GEGA BEEc | dBAF D2 DF | GBAG FDD :: A | dcde gfe^d | e^def gBBd | efga b2 ag | 
 faeg fdd :: z | AdBd AdBd | Adfd ceef | AdBd AdBd | Agfe fd d2 | AdBd AdBd | Adfd ceeA | 
 Bdce dfeg | faeg fdd :|  