T = int(input()) for _ in range(T): N, X = map(int, input().split()) ans = list(range(1, N+1)) SUM = sum(ans) if SUM <= X: ans[-1] += X-SUM print(*ans) else: print(-1)