Ten less than the product of 5 and the difference of a number and one is twice the number. What is the number?