Develop a musical composition incorporating the given motif and maintaining the required musical form.
X:1
L:1/8
M:2/4
K:G
['e d']  
X:1
L:1/8
M:2/4
K:G
 e d B2 | B A E2 | E e d B | e4 | e d B2 | B A E E | E e B G | A4 |]  