Multiplying the three equations gives
(xyz)2=(−80−320i)(60)⋅(−96+24i)=80⋅60⋅24⋅(−1−4i)(−4+i)=2402(16+30i). Since
16+30i=(5+3i)2, we get
xyz=±240(5+3i).
Dividing
xyz by each given product yields
xyz=yzxyz=±(20+12i),=zxxyz=±(−10−10i),=xyxyz=±(−3+3i), with matching signs. Hence
x+y+z=±(7+5i), so
(a,b)=±(7,5) and
a2+b2=49+25=74.