Compose a piece of music based on the provided motif and adhering to the outlined musical structure.
X:1
L:1/4
M:3/4
K:Dmin
['[CD] [DA]3 [EG,]3 [FA]3 [GG,]3 [AD]3', '[dD]3 D3 ^C3 =C3', 'A, A,'  
X:1
L:1/4
M:3/4
K:Dmin
 [CD] | [DA]3 | [EG,]3 | [FA]3 | [GG,]3 | [AD]3 | [GG,]3 | [FA] [FA] [EA] | [DA]2 [CD] | [DA]3 | 
 [EG,]3 | [FA]3 | [GG,]3 | [AD]3 | [BD]3 | [cD]3 | [dD]3 |: D3 | ^C3 | =C3 | =B,3 | _B,3 || A,3 | 
 A, A, A, | D,3 :|  