The ratio of green pepper plants to red pepper plants in Joe's garden is 2:7. If Joe has 20 more red pepper plants than green pepper plants. How much of each does he have?