Let x be the number. x − 7 = 15 → x = 22. This is a basic reverse operation, common in number riddles.