The sum of two num is 38.when 8 is added to twice one of the num the result is 5 times the other num.find the two num

x + y = 38 so y = (38-x)

2x + 8 = 5 (38-x)
2 x + 8 = 190 - 5 x
7 x = 182
x = 182 / 7
etc