A triangular prism has an approximate surface area of 39.5 square feet. The sides of the equilateral triangular bases are one-third the length of the prism. What are the dimensions of the prism to the nearest foot?