If (a+b)^2=64 and ab = 3, a^2+b^2