A farmer is installing a new fence. The coordinates of the vertices of the fence are A(2,2), B(2,6), C(8,6), and D(8,2). If each grid square has a length of 9 yards, how much wire is needed for the fence?

a. 20 yards
b. 24 yards
c. 180 yards
d. 216 yards