Final answer:
To find out how many games it will take for both players to have the same number of hits, we can set up an equation.
Step-by-step explanation:
To find out how many games it will take for both players to have the same number of hits, we can set up an equation. Let x represent the number of games played.
For the first player who averages 2 hits per game, the equation would be: 2x = 18
For the second player who averages 1 hit per game, the equation would be: x + 22
By solving these equations, we can find the value of x, which represents the number of games needed for both players to have the same number of hits.
2x = 18 --> divide both sides by 2 --> x = 9
x + 22 = 9 --> subtract 9 from both sides --> x = -13
Since the number of games cannot be negative, we discard x = -13
Therefore, it will take 9 games for both players to have the same number of hits.