Smart Math lesson problem