A basket ball team scored a total of 160 points. they made 74 baskets. how many 2 point and how many 3 point shots?

number of 2-pointers ---- x

number of 3-pointers ---- 74-x

2x + 3(74-x) = 160

solve for x