I think you're reading the problem the wrong way. It's poorly written.
You're expression is correct if it's asking for a number that is less than 7.
But if the problem is asking for some number less than seven as in seven less some number, then it's 7-n. For example: 4 less than 7 is 7-4.
Hope the solution helped. Sometimes you need more than a solution. Contact fcabanski@hotmail.com for online, private tutoring, or personalized problem solving (quick for groups of problems.)