Answer:
16 and 11
Explanation:
let Shanaz's age be n then Hamid is n + 5 and the product is
n(n + 5) = 176 ← distribute left side
n² + 5n = 176 ( subtract 176 from both sides )
n² + 5n - 176 = 0 ← in standard form
(n + 16)(n - 11) = 0 ← in factored form
Equate each factor to zero and solve fpr n
n + 16 = 0 ⇒ n = - 16
n - 11 = 0 ⇒ n = 11
But n > 0 , so n = 11 and n + 5 = 11 + 5 = 16
Hamid is 16 and Shanaz is 11