The ratio of carrot plants to potato plants in the garden is 2:5. If the garden has 35 potato plants, how many carrot plants does it have?