T = int(input()) N,X = [],[] for i in range(T): a,b = map(int, input().split(' ')) N.append(a) X.append(b) for i in range(T): lst = [] for j in range(1, N[i]): if X < j: lst = [-1] break lst.append(j) X[i] -= j if X[i] <= j: lst = [-1] else: lst.append(X) print(' '.join([str(j) for j in lst]))