The average of three test scores is 82. The scores on the first test and the third test are the same. The score on the second test is 6 less than the score on the first test. What is the score on the first test?