#include using namespace std; using ll = long long; int main(){ int t; cin >> t; while (t--) { int n, x; cin >> n >> x; if (n * (n + 1) / 2 <= x) { for (int i = 1; i < n; i++) cout << i << " "; cout << n + x - n * (n + 1) / 2 << endl; } else cout << -1 << endl; } return 0; }