Answer
31 two pointers and 9 three pointers
Work Step by Step
We first write the word problem as an equation. Next, we solve the equation using substitution. Doing this, we find:
$$ 2x+3y=89, x+y=40 \\ \frac{89-3y}{2}+y=40 \\ y=9 \\ x=\frac{89-3\cdot \:9}{2} \\ x=31$$