I think this exercise in general is buggy. I’ve tried it your way as well as
.text-#{$x} { font-size: 5px * $x;}
and neither work. Even though if I look at it, either way, in the Chrome elements inspector, it shows it exactly as it is looking for.