Answer :

Answer:

the two numbers are 14 and 4

Step-by-step explanation:

let the two numbers be x and y

as per given:

x + y = 18                       (1)

x * y = 56                       (2)

from equation (1)

x = 18 - y                        (3)

substituting value of x in equation (2)

(18 - y) * y = 56

18y - y² = 56

y² - 18y + 56 = 0

y² - 14y - 4y + 56 = 0

y(y - 14) - 4(y - 14) = 0

(y - 4)(y - 14) = 0

i.e.

y = 4 or y = 14

by substituting values of y in equation (3)

x = 18 - 4, x = 18 - 14

x = 14, x = 4

thus,

the two numbers are 14 and 4