Answer :

Let's solve the problem step by step.

1. Ray's current age is x years.
2. Jack is y years older than Ray, so Jack's current age is x + y years.

Now, we want to find out the sum of their ages in 5 years.

3. In 5 years, Ray's age will be x + 5 years.
4. In 5 years, Jack's age, since he is currently x + y years old, will be (x + y) + 5 years.

Now let's find the sum of their ages in 5 years.

5. The sum of their ages in 5 years will be:

Sum = (Ray's age in 5 years) + (Jack's age in 5 years)
Sum = (x + 5) + ((x + y) + 5)

Now, simplifying that sum:

Sum = (x + 5) + (x + y + 5)
Sum = x + x + y + 5 + 5
Sum = 2x + y + 10

So the sum of Ray's and Jack's ages in 5 years will be 2x + y + 10.