Terry, Corey, and Chris together made 20 baskets in a basketball game. Terry made 5 more than Corey. Chris made 3 times as many as Corey. How many baskets did they all have?

x + x + 5 + 3x = 20

5x = 15

x = 3

Corey made 3 baskets.