The ratio of the length to the width of a rectangle is 3:2. What is the width of the rectangle if the lengteh is 24?

a-12
b-16
c-23
d-36