Answer
$$V=(d+1)^3$$
Work Step by Step
Because it is a cube shaped box , so the relationship between volume and edge length should be V= d3 , and in the question since the edge should be 1 in greater that the ball diameter , so the result should be $V=(d+1)^3$