Compose a musical piece that incorporates the given motif and adheres to the specified form.
X:1
L:1/8
M:6/8
K:A
['A2 B c2']  
X:1
L:1/8
M:6/8
K:A
 g2 f e a2 | A2 B c2 A | g2 f e a2 | A2 B c2 A | edc dcB | A2 B c2 A | edc fga | A2 B c2 A |]  