Craft a music piece according to the prescribed structure and the input theme.
X:1
L:1/8
M:2/4
K:G
['d ed^cd']  
X:1
L:1/8
M:2/4
K:G
 d | ed^cd | B2 z d | ed^cd | c2 z d | ed^cd | f2 f2 | e2 e2 | d3 |]  