若x+y=3,xy=1,则x2+y2=______.