Construct a musical piece that integrates the provided motif and corresponds to the indicated musical structure.
X:1
L:1/8
Q:1/8=150
M:4/4
K:A
['B AFFA EA,CE AFFA dfeB AFFA EA,CA', 'fddf eAce'  
X:1
L:1/8
Q:1/8=150
M:4/4
K:A
"^simplified version" B | AFFA EA,CE | AFFA dfeB | AFFA EA,CA |1 dfeA GAc :|2 dfec BcA || f | 
 ecca fddf | eAce a2 gf | ecca fdec | d2 c2 B<EGB | ecca fddf | eAce fagb | afae fdcA | egae fdcB | 
 A8 ||  