Compose a musical piece in accordance with the outlined theme and structure.
X:1
L:1/8
M:4/4
K:D
['fafe dABc dBAG F4 A2', 'a2 b3 a bafg abag'  
X:1
L:1/8
M:4/4
K:D
|: fafe dABc | dBAG F4 | A2 A2 BABd | f3 f f4 | fafe dABc | dBAG F4 | A2 AA BABc | d3 d d4 :: 
 fgag f2 a2 | b3 a bafg | abag fg a2 | e3 e e2 fg | abag fg a2 | b3 a bafg | abag fgfe | d3 d d4 :|  