Using the given motif as a foundation, craft a musical piece adhering to the outlined form.
X:1
L:1/8
Q:1/2=80
M:2/2
K:A
['fgaf ecBA']  
X:1
L:1/8
Q:1/2=80
M:2/2
K:A
 cB | A3 B ABcd | fgaf ecBA | d3 f ecBA | G2 B4 Bc | d3 e fgaf | ecBA G3 B | AcBd ceBd | c2 A4 |:  