6 cm.
Step-by-step explanation:
The perimeter = 2(H + W) where H = height and W = width. So we have:
30 = 2(9 + W)
30 = 18 + 2W
2W = 30 - 18 = 12
W = 6 cm.