A rectangular prism with a volume of \[6\] cubic units is filled with cubes with side lengths of \[\dfrac{1}2\] unit. How many \[\dfrac{1}2\] unit cubes does it take to fill the prism?