Calculate the value of 9x2−42xy+49y2 given that 3x−7y=8.
If 3x−7y=10 and xy=−1, find the value of 9x2+49y2