Construct a musical composition utilizing the provided motif and conforming to the specified structure.
X:1
L:1/8
Q:1/8=160
M:6/8
K:D
['[AA,]DD FDD', 'AB/A/F DFA', 'e ffa gfe fdG ABd DFA def'  
X:1
L:1/8
Q:1/8=160
M:6/8
K:D
 [AA,]DD FDD | ADD FDD | [AA,]DD FDD | EFE EDB, |"^5" [AA,]DD FDD | [AA,]DD FGA | Bcd AGF | 
 EDC D2 || A |"^9" Add fdd | edd fdd | Add fdd | edB BAF |"^13" Add fdd | edd fdA | Bcd AGF | 
 EDC D3 |:"^17" AB/A/F DFA | DFA B2 d | AB/A/F DFA | feA B2 d |"^21" AB/A/F DFA |1 DFA d2 e | 
 ffa gfe | fdG ABd :|2"^22B" DFA def | gfe fdB | AFD DFA |"^final" D6 |]  