Compose music following the outlined musical form presented in alphabet characters, along with the provided motif.
X:1
L:1/8
Q:1/8=180
M:4/4
K:D
['(3(ABc) dcde f2 ed cBcd ec A2', '(3(ABc) d2 a2']  
X:1
L:1/8
Q:1/8=180
M:4/4
K:D
 (3(ABc) | dcde f2 ed | cBcd ec A2 | dcde fgef | d2 ab a2 (3(ABc) | dcde f2 ed | cBcd ec A2 | 
 BcdB edcB | A2 de d2 :: (3(ABc) | d2 a2 fg a2 | cBcd ec A2 | f2 a2 fgef | d2 ab a2 (3(ABc) | 
 d2 a2 bagf | gfed cdeA | BcdB edcB | A2 de d2 :|  