If a+b=7 and ab=12, find the value of a2+b2.


Using the identity,


3
1