#include using namespace std; int main(){ ios_base::sync_with_stdio(false); cin.tie(nullptr); int N,K; cin >> N >> K; int sx,sy,gx,gy; cin >> sx >> sy >> gx >> gy; sx--,sy--,gx--,gy--; int d = abs(sx-gx)+abs(sy-gy),d2 = d+d; if(d%2) d2--; if(K < d || d2 < K || (K-d)%2){cout << "-1\n"; return 0;} vector S(N); for(int i=0; i