A.
re - below the 1st line
mi - 1st line
fa - 1st space
so - 2nd line
la - 2nd space
ti - 3rd line
do - 3rd space
B.
so - 2nd line
la - 2nd space
ti - 3rd line
do- 3rd space
re - 4th line
mi - 4th space
fa [put a sharp #] - 5th line
so - above the 5th line
i hope it helps :)