The basketball team scored 82 points from 2-point and 3-point baskets. They

make 38 baskets altogether. Let a represent the number of 2-point baskets, and
let b represent the number of 3-point baskets.

a + b = 38 (the total number of baskets)

2a + 3b = 82 (the total number of points scored from 2-point and 3-point baskets)