Tyler is running back for his local football team. In the first game, he ran the ball 3 times. On the first attempt, he gained 6 yards. On the second attempt, he lost 8 yards, and on the third attempt, he gained 2 yards. How many total yards did Tyler run for?