import std.stdio, std.string, std.conv, std.algorithm;
import std.range, std.array, std.container, std.math;

immutable int mod = 10^^9 + 7;

int x1, y1, x2, y2;
int x, y;

void main() {
    readVariables(x1, y1, x2, y2);
    readVariables(x, y);

    if ((x2 - x1) % x || (y2 - y1) % y) {
        writeln("NO");
        return;
    }

    int k = abs(x2 - x1) / x;
    int h = abs(y2 - y1) / y;

    if ((k & 1) == (h & 1)) {
        writeln("YES");
    }
    else {
        writeln("NO");
    }
}

void readVariables(T...)(ref T args) {
    string[] line = readln.split;
    foreach (ref arg ; args) {
        arg = line.front.to!(typeof(arg));
        line.popFront;
    }
    if (!line.empty) {
        throw new Exception("args num < input num");
    }
}