Let the two natural numbers be x and y
X+y=8
X=8-y ---(Equation-1)
1x+1y=815 ---(Equation -2)
We get,
1x+1y=815
18−y+1y=815
y+8−y(8−y)y=815
88y−y2=815
-8y2+64y=120
-8y2+64y-120=0
8y2-64y+120=0
y2-8y+15=0
y2-5y-3y+15=0
(sum=-8,Product=15)
y(y-5)-3(y-5)=0
y-5=0 (or)y-3=0
y=5 (or) y=3
If y=5 then x=8-5
X=3
If y=3 then x=8-3
X=5
Therefore the two natural numbers are 3and 5