Craft a musical piece that abides by the prescribed structural guidelines and the given theme.
X:1
L:1/8
M:2/4
K:D
['DA BA d2 dc B>A', 'fA eA dA cA B>A'  
X:1
L:1/8
M:2/4
K:D
|: DA BA | d2 dc | B>A Bc | BA FA | DA BA | d2 dc | B>A B/c/d | ed d2 :: fA eA | dA cA | B>A Bc | 
 BA FA |1 fA eA | dA cA | B>A B/c/d | ed d2 :|2 DA BA | d2 dc | B>A B/c/d | ed d2 ||  