Craft a musical piece that incorporates the given motif and follows the outlined structure.
X:1
L:1/8
M:4/4
K:A
['A2 a2 fefa', 'ABcd eAcA'  
X:1
L:1/8
M:4/4
K:A
 cB | A2 a2 fefa | c2 cB c2 cB | A2 a2 fefa | B2 BA BdcB | A2 a2 fefa | c2 cB c2 e2 | f2 fg fefg | 
 afec B2 :| cB | ABcd eAcA | c2 cB c2 cB | ABcd eAcA | B2 BA BdcB | ABcd eAcA | c2 cB c2 e2 | 
 f2 fg fefg | afec B2 :|  