Develop melodic phrases by utilizing the given motif and following the predetermined musical arrangement.
X:1
L:1/8
M:2/4
K:G
['G2 d2', 'x Bddc Bddc Bdef g2 d2 gdBd'  
X:1
L:1/8
M:2/4
K:G
 G2 d2 | BA/B/ GA/B/ | cBAG | FE/F/ DD | EE FG | G2 d2 | (B/d/)B/.G/ (.A/c/)A/.F/ | G2 z x :: 
 Bddc | Bddc | Bdef | g2 d2 | gdBd | ecAc | BA/B/ c/B/A/G/ | A/G/F/E/ DD | GGDG | AADc | (3BAG AF | 
 G4 :|  