Let $x$ and $y$ be positive integers, and we want to determine the value of the expression $x + y$.
Statement (1): $x^2 + y^2 = 50$.
Statement (2): $xy = 24$.