Let the numbers are xandy
According to given question,
x+y=15 ……. (1)
Again, According to given question,
1x+1y=310
x+yxy=310
15xy=310
xy=50
y=50x …… (2)
By equation (1) and (2) to, we get
x+50x=15
x2+50=15x
x2−15x+50=0
x2−(10+5)x+50=0
x2−10x−5x+50=0
x(x−10)−5(x−10)=0
(x−10)(x−5)=0
Then, x=5,10
By equation (1) to,
put x=5 and we get,
x+y=15
5+y=15
y=15
Put x=10 and we get,
x+y=15
10+y=15
y=15−10=5
Then,(5,10)or(10,5) is the answer.