Let, the numbers = x,y
Now, x + y = 38
x - y = 50, x = 50 + y
Substitute it into first equation,
50 + y + y = 38
2y = 38 - 50
y = -12 / 2
y = -6
Substitute it into first equation,
x - 6 = 38
x = 38 + 6 = 44
So, your final answer is x = 44 & y = -6
Hope this helps!