The phrase "less than" indicates subtraction, so to express 7 less than x, write X - 7.
The answer is x-7. Hope it helped :))