If the square of 8y-1 and the square of 8-x are opposite to each other, find the cube of X-Y

If the square of 8y-1 and the square of 8-x are opposite to each other, find the cube of X-Y

The square of 8y-1 and the square of 8-x are opposite to each other, then the square of 8y-1 + the square of 8-x = 0, so 8y-1 = 0, 8-x = 0, so we can get x = 8, y = 1 / 8, so the cube of X-Y = 512-1 / 512 = 262143 / 512