Develop melodic phrases by utilizing the given motif and following the predetermined musical arrangement.
X:1
L:1/8
M:2/2
K:D
['AFdB ABAF DFAF E2 (EB) AFAd BGBd', '(3(fga) fd'  
X:1
L:1/8
M:2/2
K:D
 (dB) | AFdB ABAF | DFAF E2 (EB) | AFAd BGBd | cABc dedB | AFdB ABAF | DFAF E2 (EB) | AFAd BGBd | 
 cABc defg || | a2 fd (fa)fd | (3(fga) fd e2 (ef) |{a} gfef gbag | fedc defg | a2 fd (3(fga) fd | 
 (3(fga) fd e2 (ef) |{a} gfef gbag | fedc d2 |]  