Let A=[pqqr] (since A is symmetric) with ∣A∣=pr−q2=2.
We have [23123][pqqr]=[1α2β].
Multiplying the matrices yields [2p+q3p+23q2q+r3q+23r]=[1α2β].
From the first row we have 2p+q=1 and 2q+r=2, so q=1−2p and r=2−2q=2−2(1−2p)=4p.
Using the condition ∣A∣=pr−q2=2 gives p(4p)−(1−2p)2=2, which simplifies to 4p2−1+4p−4p2=2 and hence 4p−1=2, so p=43. Therefore q=−21 and r=3.
From the second row we find α=3⋅43+23⋅(−21)=49−43=23 and β=3⋅(−21)+23⋅3=−23+29=3.
The sum of diagonal elements is s=43+3=415, and thus α2βs=(23)23⋅415=49445=945=5.