A rectangular garden is 8 ft longer than it is wide. Its area is 345 ft2. What are its dimensions?