The sum of two numbers is 24. The difference of the numbers is 16. Find the numbers.

This is what I have so far:
x+y-16=24

3 answers

Nevermind about this question, I solved it myself.
first we solve this with variables x and y

x+y=24
x-y=16

now, you add the two equations

2x, the y cancelled

24+16 = 40

2x= 40
now you divide both sides by 2

x= 20

now, using the equation x +y=24

20 +y = 24
y= 24- 20=4

checking our answers

x+y=24
20+4=24
now, x-y=16
20-4=16
Sum of two numbers is 100 and their difference is 50 the ratio between the two numbers is