Compose music following the outlined musical form presented in alphabet characters, along with the provided motif.
X:1
L:1/8
M:2/4
K:G
['D>E DE GA B2 AG', 'd>e de dc B2 AG']  
X:1
L:1/8
M:2/4
K:G
 D>E DE | GA B2 | AG EG | BA B<d | D>E DE | GA B2 | AG E/D/C | D2 D2 :| d>e de | dc B2 | AG EG | 
 BA B<d | d>e de | dc B2 | AG E/D/C | D2 D2 :|  