The ratio of the perimeters of two rectangles is 4 to 7. The perimeter of the larger rectangle is 42 inches. What is the perimeter of the smaller rectangle?

A.10.5 inches

B.73.5 inches

C.28 inches

D.24 inches