Tyler buys some tennis balls for an upcoming match. He gives a third of them to his partner, who already had 2 tennis balls. If his partner now has 6, how many tennis balls did Tyler buy?