The answer is that 79 IS NOT correct because the riddle says "my ones digit is 2 LESS than my tens digit.." and 79 has 7 in tens and 9 in ones which means the ones digit is 2 MORE than the tens digit.
To solve
x has to be more than 60 and less than 100
the primes between those are 61,67,71,73,79,83, 89, 97
97 is two less in the ones than in the tens so it completes all of the requirements of the riddles therefore, 97 is the answer.