Compose a musical piece in accordance with the outlined theme and structure.
X:1
L:1/8
M:4/4
K:D
['g/ f<a', 'A<a f<a ef/g/ d>B A<F D<d'  
X:1
L:1/8
M:4/4
K:D
 B/ |"D" A>F d2 A>F"G" d<B |"D" A>F"G" G/F/E/D/"A7" Ee ef/g/ |"D" a<f"A7" g<e"Bm" f<d"A" e<c | 
"Em" d>B"A" A<F"D" A<d d3/2 :| g/ |"D" f<a d<a"A7" c<a A<a |"D" f<a d<f"G" ge"A7" ef/g/ | 
"D" f<a d<a"A7" c<a A<g |"D" f>d"A7" f/e/d/c/"D" d<D D3/2 || g/ |"D" f<a d<a"A7" c<a A<a | 
"Bm" f<a d<f"Em" ge"A7" ef/g/ |"D" f<d"A" e<c"Bm" d>B A<F |"G" G>B"A7" A<F"D" D<d d3/2 |]  