Answer
$w=5.9$ feet
$l=17.7$ feet
Work Step by Step
$$V=lwh$$
$$315=3w(w)3$$
$$315=9w^2$$
$$w^2=315:9$$
$$w^2=35$$
$$w=\pm \sqrt{35}$$
Take the positive value
$$w=\sqrt{35}\approx 5.9\text{ feet}$$
$$l=3w=3\sqrt{35}\approx 17.7\text{ feet}$$