#include <bits/stdc++.h>
using namespace std;
int main(int argc, char const *argv[]) {
  int x1;
  int y1;
  int x2;
  int y2;
  cin >> x1 >> y1 >> x2 >> y2;
  int x;
  int y;
  cin >> x >> y;
  int diffx;
  int diffy;
  if (x1 > x2) {
    diffx = x1 - x2;
  } else {
    diffx = x2 - x1;
  }
  if (y1 > y2) {
    diffy = y1 - y2;
  } else {
    diffy = y2 - y1;
  }
  if (diffx % x == 0 && diffy % y == 0) {
    diffx = diffx / x;
    diffy = diffy / y;
    if ((diffx % 2 == 0 && diffy % 2 == 0) ||
        (diffx % 2 != 0 && diffy % 2 != 0)) {
      cout << "YES" << endl;
      return 0;
    }
  }
  cout << "NO" << endl;
  return 0;
}
