Shape musical compositions using the outlined form and integrating the provided motif.
X:1
L:1/8
M:4/4
K:C
['ABA AB(d', 'A2 e aga ag(e a)ba (ag)e gfg'  
X:1
L:1/8
M:4/4
K:C
[M:6/8][K:Ador] .abc E | ABA AB(d | e)dB (gf)e | GAG BAG | dBG AGE | ABA AB(d | e)d(B d)ef | 
 (gf)(e f)dB- | BAG A2 :| | e | aga ag(e | a)ba (ag)e | gfg gd(B | G)Bc d(eg) | aba ga(g | 
 e)d(B c)de | (gf)(e f)dB- | BAG A2 :|  