Compose a musical piece in accordance with the outlined theme and structure.
X:1
L:1/8
M:12/8
K:D
['f2 a g2 e fed B2 A', 'd2- d e3 ee/f/g a3- a2 f'  
X:1
L:1/8
M:12/8
K:D
|: e | f2 a g2 e fed B2 A | dcd agf e3 e^de | f2 a g2 e fed B2 A | dcd f2 e d3 d2- :: d | 
 e3 ee/f/g a3- a2 f | gBB gBB g3 gfe | f2 a gfe fed B2 A | dcd f2 e d3- d2- :|  