Utilize the provided motif to produce a musical work adhering to the designated form.
X:1
L:1/8
M:4/4
K:A
['ceed eecA BAAG', 'A4 a doodle eaag a2 e2 =cBAc'  
X:1
L:1/8
M:4/4
K:A
|: ceed eecA | BAAG ABcd | ceed eecA | BAAG A2 E2 | ceed eecA | BAAG ABcd | eaga fedc | BAAG A4 :: 
"^Cock a doodle doo!" eaag a2 e2 | =cBAc BA B2 | =c2 cA EA c2 | BAAG A4 | 
"^Cock a doodle doo!" eaag a2 e2 | =cBAc BA B2 | eaga fedc | BAAG A4 :|  