There are thirty games in the season because 20 + 10 = <<20+10=30>>30

He needs to get 90 hits on the year to average 3 hits a game because 30 x 3 = <<90=90>>90

He has 40 hits already because 20 x 2 = <<20*2=40>>40

He needs 50 hits in the final 10 games because 90 - 40 = <<90-40=50>>50

He needs to average 5 hits a game because 50 / 10 = <<50/10=5>>5

# Answer

5
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
Javier plays 2 baseball games a week. In each of his first 20 games, he averaged 2 hits. If he has 10 games left, how many hits a game does he have to average to bring his average for the season up to 3 hits a game?
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
5
Javier plays 2 baseball games a week. In each of his first 20 games, he averaged 2 hits. If he has 10 games left, how many hits a game does he have to average to bring his average for the season up to 3 hits a game?
train