Gloria worked 27 hours in one week. The next week, the number of hours she worked decreased such that the ratio of hours worked during the first week to the number of hours worked during the second week is 3:2. How many hours did she work during the second week?
a) 12 hours
b) 18 hours
c) 15 hours
d) 9 hours