The surface area is the sum of all the areas in the given prims, then we have:

Plugging the value for the surface area and silving for A we have:

Now that we know the missing area we can know the missing dimension:

Therefore the missing length is 12.