T = int(input()) for _ in range(T): N, X = map(int, input().split()) if N*(N+1)//2 > X: print(-1) else: print(*range(1, N), X-(N-1)*N//2)