t = int(input()) for i in range(t): n,x = map(int,input().split()) ans = [] cnt = 0 for j in range(1,n): ans.append(j) cnt += j if x - cnt > ans[-1]: ans.append(x - cnt) print(*ans) else: print(-1)