A baseball team scored a total of 42 runs over a series of games. In the first game, they scored 12 runs. In the second game, they scored twice as many runs as they did in the first game. Let $$x$$ represent the number of runs scored in the third game. Write an equation to find $$x$$.
How many runs did the baseball team score in the third game?