A 45-inch string is cut into 2 pieces. If the ratio of the longer piece to the shorter piece is 3:2, what is the length of the shorter piece?

a. 9
b. 12
c. 18
d. 27
e. 36