The length of a rectangular garden is 3 yd less than twice its length. The perimeter of the garden is 78 yd. What are the width and length of the garden?