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