Construct musical phrases based on the provided motif adhering to the specified arrangement.
X:1
L:1/8
M:4/4
K:D
['B AFAf edBd AFAB dedB AFAf edBg', 'fedf edBg'  
X:1
L:1/8
M:4/4
K:D
 B | AFAf edBd | AFAB dedB | AFAf edBg | (f/g/a) AB d2 z :| g | fede edBa | fedf abag | fedf edBg | 
 (f/g/a) AB d3 g | fedf edBg | fedf abaf | gafg edBb | afge d3 |]  