Let one number be x. Therefore, the other number will be x + 15.
According to the question,
x + x + 15 = 95
2x + 15 = 95
On transposing 15 to R.H.S, we obtain
2x = 95 -15
2x = 80
On dividing both sides by 2, we obtain
\\(\\begin{array}{l}{\\frac{2 x}{2}=\\frac{80}{2}} \\\\ {x=40} \\\\ {x+15=40+15=55} \\\\ {\ ext { Hence, the numbers are } 40 \ ext { and } 55 .}\\end{array}\\)