Construct a musical piece that follows the designated lettered structure and integrates the provided motif throughout.
X:1
L:1/8
M:9/8
K:A
['', 'c2 A A2 A czA', 'e3 ^d2 e czA']  
X:1
L:1/8
M:9/8
K:A
"^A" |: c2 A A2 A czA | Bcd ecA Bcd | c2 A A2 A czA | B2 =G GzA Bcd"^B" :: e3 ^d2 e czA | 
 Bcd ecA Bcd |1 e3 ^d2 e czA | Bz=G G2 A Bcd :|2 e3 f3 =g3 | Bz=G G2 A Bcd |]  