He played for 2*12=<<2*12=24>>24 minutes
He gets 2*2=<<2*2=4>>4 points per minute from the two-point shots
So he scores 4+3=<<4+3=7>>7 points per minute
There are 24/4=<<24/4=6>>6 intervals
So he scores 7*6=<<7*6=42>>42 points
#### 42