Bob is fencing his rectangular vegetable patch. The perimeter of the patch is yards. He places fence posts yards apart, with one post on each of the four corners. The longer side of his patch, including the corners, has twice as many posts as the shorter side, including the corners. How many fence posts did Bob use in total?
28
30
32
34
36