Craft a musical arrangement that integrates the provided motif and upholds the required musical structure.
X:1
L:1/8
M:12/8
K:D
['DED BGE EFE', 'ABc d2 B'  
X:1
L:1/8
M:12/8
K:D
 A | d2 D DED DED DED | BGE EFE EFE EFE | AFD DED BGE EFE | ABc d2 B AFD D2 :| f | 
 ecA ABA ecA ABA | fdB BcB fdB BcB | g2 e f2 d ABc d2 B | ABc d2 B AFD D2 :|  