Let a number be x.
Then the other number = 27 – x
Product of the numbers = x(27 – x) = 27x – x2
By problem 27x – x2 = 182
⇒ x2 – 27x + 182 = 0
⇒ x2 – 14x – 13x + 182 = 0
⇒ x(x- 14) – 13(x – 14) = 0
⇒ (x – 13) (x – 14) = 0
⇒ x – 13 = 0 or x – 14 = 0
⇒ x = 13 or 14.
∴ The numbers are 13 or 14 ; 27 – 13 = 14 and 27 – 14 = 13.