Consider the quadratic equation given by:
$$x^2 - 7x + 10 = 0$$
In addition, let $$y$$ be defined as:
$$y = x^2 + x - 6$$
What is the value of $$y$$ when $$x$$ is the greater root of the quadratic equation?