Create a musical composition using the given motif and adhering to the specified musical form represented by alphabet characters.
X:1
L:1/8
M:4/4
K:G
['D>E G2 G2 G>A B>c d4 B2']  
X:1
L:1/8
M:4/4
K:G
 D>E | G2 G2 G>A B>c | d4 B2 A>G | E2 E2 E>F G>E | E4 D2 D>E | G2 G2 G>A B>c | d4 B2 G>A | 
 B2 A>G E2 E2 | E6 |]  