t = int(input()) for i in range(t): n,x = map(int,input().split()) tp = [] for i in range(1,n): tp.append(i) x -= i if x > tp[-1]: tp.append(x) print(*tp,sep=" ") else: print(-1)