the smaller and the larger number are
17 and 22 respectively
Explanation:
let the numbers be x and y
from the expression; The sum of two numbers is 39 means that
x + y=39
let y be the smaller number and x be larger number.
but from the expression
The larger number is 5 more than the smaller is written as
x=5+y
put it in the first equation to get
5+y+y=39
5+2y=39
2y=39-5
2y=34
y=34/2
y=17
put the y value in the equation to get the x value
thus
x=5+y
x=5+17
x=22