(7-X) + (24-X) = 7^2 + 24^2