To form a triangle, the third side must be shorter than the sum of the other two sides, so the perimeter p=9+18+x where x is the length of the third side. x<9+18; 18<9+x; 9<18+x.
So x<27; x>9; x>-9. Therefore 9<x<27, hence the perimeter p must satisfy 36<p<54.
From the options, the only one that satisfies this inequality for p is option C.
CHECK
The three side lengths are 9, 18, 45-27, that is, 9, 18, 18. 9+18=27>18; 18+18>9, so the Triangle Rule is obeyed by this isosceles triangle.