let x and y represent the two whole numbers!
this system of equations represents the scenario given:
x(y) = 50
x+y=15
isolate x:
x+y=15… x=15-y
plug in 15-y for x:
(15-y)(y)=50
15y-y^2=50
y^2 - 15y + 50 = 0
(y-10)(y-5) = 0
y = 10 or 5
therefore…
x+10=15
x+5=15
x=5 or 10
the numbers are 5 and 10 :)