Construct a musical piece that integrates the provided motif and corresponds to the indicated musical structure.
X:1
L:1/8
M:6/8
K:D
['BAF Ade fdB A2 A', 'ABd eff'  
X:1
L:1/8
M:6/8
K:D
 A[dD][dD] BAF | Ade fdB | A2 A BAF | AFD E2 B | A3 BAF | Ade fdB | A2 A AFE | FDA d2 B :| 
 ABd eff | ede fdB | AB/d/e f2 d | edB BAF | ABd eff | ede fdA | B2 d AFD | EDA d2 B | ABd fed | 
 ede fdB | ABd f2 d | edB BAF | ABd eff | e2 e fdA | BAd AFD | EDA d2 B ||  