The sum of two numbers is ten. Three times the larger number is three less than eight times the smaller number. What is the smaller number?