Determinant of matrix 1

Algebra Level 1

If $$\det\left(\begin{array}{cc}1& a\\2& b \end{array}\right)=4$$ and $$\det\left(\begin{array}{cc}1& b\\2& a \end{array}\right)=1,$$ what is $$a^2+b^2?$$

×