By the end of the first quarter of a football game, Gary had gained 42 yards and lost 9 yards. Gary lost an additional 18 yards and gained 58 yards in the second quarter. Write an equation to represent his total yardage for the first half of the game.