Suppose the first number is x and second number is y
According to question:
x+y=80......(1)
and x=y+20
⇒ x−y=20.......(2)
Adding equation (1) and (2)
x+y=80
x−y=20
-------------------
2x=100
x=50
Putting value of x in equation (1)
50+y=80
⇒ y=80−50
⇒ y=30
The required numbers are 50 and 30.