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