Six fewer than half a number is ten more than two and a half times the number. Define a variable, write an equation, and solve it to find the number.