In this question, it is given that two of the dimensions are 3 cm and 9 cm . Let the other dimension be x cm .
And the surface area of the rectangular prism is given. Now we use the formula of surface area of prism, which is



Subtracting 27 to both sides,

Dividing both sides by 12

So the length of the remaining dimension is 6 cm .