Construct a piece of music using the designated motif as the basis, while ensuring the required form is followed.
X:1
L:1/8
Q:1/8=180
M:2/2
K:G
['dBGB A2', 'A2 Bd'  
X:1
L:1/8
Q:1/8=180
M:2/2
K:G
"^A dorian" Bc | dBGB (3ABA GB | dBGB A2 Bc | dBGB A2 GB | cABG A2 Bc | dBGB A2 GB | dBGB A2 Bd | 
 gfga bagf | gedB A2 || Bd | (3efe de gedg | e2 dB A2 Bd | e2 de gedB | cABG A2 Bd | e2 de gedg | 
 e2 dB A2 Bd | egfa gedB | cABG A4 |]  