Craft a musical piece that abides by the prescribed structural guidelines and the given theme.
X:1
L:1/4
M:4/4
K:G
['D D']  
X:1
L:1/4
M:4/4
K:G
 D D F2 | A2 F A | (F/E/) D z2 | D D F2- | F/E/ D A, F | E2 z F | D D F2 | A2 F A | (F/E/) D2 z | 
 d2 c B | A3 D | F E D2 |]  