Let be the width of the deck.

the outer dimensions of the pool and the deck will be by

now, the area of the deck is the area of the outer figure minus the area of the pool (draw a diagram!), and we know that is equal to 216, thus the equation we need to solve is:

i trust you can take it from here