A two digit number is equal to three times of the product of the numbers on each digit. The number on the tenth digit is 2 less than the number on the single digit. How many are the two digits? Use the 2-ary equation

A two digit number is equal to three times of the product of the numbers on each digit. The number on the tenth digit is 2 less than the number on the single digit. How many are the two digits? Use the 2-ary equation

If the ten digit is a, the single digit is a + 2,
So there are:
10a+(a+2)=3a(a+2)
3a^2-5a-2=0
(3a+1)(a-2)=0
therefore
A = 2 or a = - 1 / 3
So, this number is 24