Construct a musical composition utilizing the provided motif and conforming to the specified structure.
X:1
L:1/8
M:4/4
K:D
['A2 AF', 'FA A2'  
X:1
L:1/8
M:4/4
K:D
 A2 AF ABdf | edef dBBF | A2 AF ABdB | AFEG FD D2 :: FA A2 BAFA | (3Bcd ed cA A2 | FA A2 BAdA | 
 F2 EG FD D2 :|  