Craft a musical piece that abides by the prescribed structural guidelines and the given theme.
X:1
L:1/8
M:4/4
K:D
['D<D d>c c<B', 'd<d e>A f2'  
X:1
L:1/8
M:4/4
K:D
 uF | D<D d>c c<B B>d | A<F E>D E3 F | D<D d>c c<B B<d | A<F F>E D3 :: A | d<d e>A f2 (3(ABc) | 
 d<d e>A f2 f>e | d>c B<d A<F F>E | D<d F>E D3 :|  