Problem

ALG-B1-M09-P022 Sum of squares of roots

#22 Grade 9 Grade 10 ★★★★☆ Level 4 of 5

Let integers \(x,y\) be the roots of \(t^2-st+p=0\), where \(s,p\in\mathbb Z\), and suppose \(x^2+y^2=25\), \(xy=12\). Find \(s\).