The area of a rectangle is 24 square inches. Determine both dimensions if the length is 6 inches less than three times the width