Question 6Suppose that the two quadratic equations $y^2-my-36=0$ and $y^2-6y-m=0$ have a common root $w$, find the value of $7w^2-w^3$.