Compose a piece incorporating the provided motif while adhering to the given musical structure.
X:1
L:1/8
M:12/8
K:D
['A2 d BdB A2', 'd2 f/g/ afd dcd faf d2 f'  
X:1
L:1/8
M:12/8
K:D
 f/e/ | dAA A2 d BdB A2 A | dcd efg fed eag | fAA A2 d BdB A2 g | fed Adc d3 d2 :| f/g/ | 
 afd dcd faf d2 f | g2 e f2 d eAA ABc | dAA A2 d BdB A2 g | fed Adc d3 d2 :|  