I'm a little confused on why you have 98.1 x 2 in part a)
Wouldn't the working out be: molarity = moles/volume
molarity = 2moles/0.250dm3 (you have 250cm3 and so you have to divide by 1000 to get that into dm3)
= 8M
For part b) You need to do moles = mass/molar mass
moles = 20grams/40 = 0.05
Therefore there are 0.05 moles in sodium hydroxide. You now use the formula molarity = moles/volume
molarity = 0.05/0.500 which equals 0.1M
Hope this helps!