The sum of two numbers X and Y is 10 but the distance between them is 20. Find both numbers assuming X is less than Y.

y+x =10

y - x = 20
add them:
2y = 30
y = 15

15+x = 10
x = -5

x = -5, y = 15