Craft a musical piece in accordance with the designated structure and theme.
X:1
L:1/8
M:2/4
K:D
['A2 AB Ad dc', 'f2 fe fd dc'  
X:1
L:1/8
M:2/4
K:D
 A2 AB | Ad dc | BB c/B/A | Be Bc/B/ | A2 AB | Ad dc | Be Bc | d2 d2 :: f2 fe | fd dc | BB c/B/A | 
 Be Bc | f2 fe | fd dc | Be Bc | d2 d2 :|  