The length of a rectangular vegetable bed is 3 feet more than twice the width. The length of the fence around the bed is 36 feet. Find the length and width, and a specific equation to find it if the width is x.