Using the given motif as a foundation, craft a musical piece adhering to the outlined form.
X:1
L:1/8
Q:1/8=232
M:4/4
K:A
['ce cA']  
X:1
L:1/8
Q:1/8=232
M:4/4
K:A
|: cd | e2 ee e2 fg | ba gf e2 ed | ce cA ce cA | cB BB B2 cd | e2 ee e2 fg | ba gf e2 ed | 
 ce cA Bd BG | A2 c2 A2 E2 | AG AB dc BA | BE EE E2 EG | B^A Bc ed cB | dc cc c2 AB | cA Bc dB cd | 
 ec de gf ed | ce cA Bd BG | A2 c2 A2 :|  