#include <bits/stdc++.h>
using namespace std;
const int N = 2e5 + 7;
int a[N];
void solve() {
  int a, b, c, d, x, y;
  cin >> a >> b >> c >> d >> x >> y;
  int m = abs(c - a);
  int n = abs(d - b);
  if (m % x == 0 && n % y == 0 && abs(m / x - n / y) % 2 == 0)
    cout << "YES\n";
  else
    cout << "NO\n";
}
int main() {
  ios_base ::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  int t;
  t = 1;
  while (t--) {
    solve();
  }
  return 0;
}
