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