Twice the square of a positive integer is 12 more than 10 times that integer, what is the integer?