Question 778012
Let the numbers be x and y.


x+y=4 
y = 4 - x ___ (1)


5x+4y=34 ___ (2)


Substituting for y in terms of x from (1) in (2)
5x+4(4-x)=34
x = 18
y = -14