Your final result is (almost) OK - you just should remember to not use too much digits and write it as 0.25 g/L. But...
There is no need to use moles concept to solve this question. At all.
You start with the 5.0g/L solution.
You take 150mL, or 0.15L of that - so your solution contains 0.15*5.0 = 0.75g of NaOH.
You dilute it in 3.0 liters, so your final concentration is 0.75g/3.L = 0.25 g/L.
Much simpler and much faster