john is five years older than his sister. the product of their present ages is 150.

John's present age is (blank) years, and this sister's present age is (blank) years

so i believe you have to answer this with the quadratic formula but I'm not sure. please help​