Compose music following the outlined musical form presented in alphabet characters, along with the provided motif.
X:1
L:1/8
M:3/4
K:D
['z A', 'D2 G>F G>B e2 G2 F>A d2']  
X:1
L:1/8
M:3/4
K:D
 a>g | fg a2 A2 | d>e f2 z A | B2 gedc | d2 z2 A2 | B>A B2 d2 | AF D2 z A | BABcdF | E2 D2 :: G>F | 
 G>B e2 G2 | F>A d2 z F | B>AB>cd>F | F2 E2 a>g | f>g a2 c2 | d>e f2 z A | B2 gedc | d2 z2 :|  