An isosceles triangle has a perimeter of 45 cm. If the two equal sides are each twice as long as the smallest side, what is the length of the smallest side?

A: 3
B: 7
C: 9
D: 15
E: 18