Construct a musical piece that integrates the provided motif and corresponds to the indicated musical structure.
X:1
L:1/8
M:4/4
K:C
['AFFA dcBA BAFA', 'defg agab'  
X:1
L:1/8
M:4/4
K:C
[M:2/2][K:D] uce[Q:1/8=180] .A3 B AFFA | dcBA BAFA | dcBd cBAc | BAFA (3Bcd cB | A2 AB AFFA | 
 dcBA BAFA | dfed cedc | BAFA B3 || c | defg agab | afeg fBBc | defg agab | afeg fddc | defg agab | 
 afec defg | agfe fedc | dcBA (3Bcd cB"_DC" |]  