Shape musical compositions using the outlined form and integrating the provided motif.
X:1
L:1/8
M:2/4
K:D
['AB cd ed cd eA', 'ag eg ag'  
X:1
L:1/8
M:2/4
K:D
 AB cd | ed cd | eA AB | c/B/A GE | AB cd | ed cd | eA Bc | BA A2 :| ag eg | ag e2 | fd de | 
 fd d2 | ag eg | ag ec | BA Bc | BA A2 :|  